[94173] trunk/dports/devel/pficommon
hum at macports.org
hum at macports.org
Mon Jun 11 07:54:09 PDT 2012
Revision: 94173
https://trac.macports.org/changeset/94173
Author: hum at macports.org
Date: 2012-06-11 07:54:08 -0700 (Mon, 11 Jun 2012)
Log Message:
-----------
pficommon: update git.branch to 6ea510b4e1 for jubatus-0.2.3.
Modified Paths:
--------------
trunk/dports/devel/pficommon/Portfile
trunk/dports/devel/pficommon/files/patch-wscript.diff
Modified: trunk/dports/devel/pficommon/Portfile
===================================================================
--- trunk/dports/devel/pficommon/Portfile 2012-06-11 14:15:41 UTC (rev 94172)
+++ trunk/dports/devel/pficommon/Portfile 2012-06-11 14:54:08 UTC (rev 94173)
@@ -5,7 +5,7 @@
PortGroup github 1.0
github.setup pfi pficommon 1.3.1
-revision 4
+revision 5
categories devel
maintainers hum openmaintainer
@@ -16,7 +16,7 @@
license BSD
fetch.type git
-git.branch 6eaee33d57
+git.branch 6ea510b4e1
patchfiles patch-wscript.diff
# optional database version: my = MySQL, pg = PostgreSQL.
Modified: trunk/dports/devel/pficommon/files/patch-wscript.diff
===================================================================
--- trunk/dports/devel/pficommon/files/patch-wscript.diff 2012-06-11 14:15:41 UTC (rev 94172)
+++ trunk/dports/devel/pficommon/files/patch-wscript.diff 2012-06-11 14:54:08 UTC (rev 94173)
@@ -1,68 +1,36 @@
---- wscript.orig 2012-04-11 23:27:52.000000000 +0900
-+++ wscript 2012-04-11 23:27:52.000000000 +0900
-@@ -49,7 +49,7 @@
-
- [Modules]
- FCGI module: %s
--Database module: %s
-+Database module:
- have MySQL lib: %s
- have PostgreSQL lib: %s
- MessagePack RPC module: %s
-@@ -65,7 +65,7 @@
- Compiler version: %s
- CXXFLAGS: %s
- """ % (conf.env.BUILD_FCGI and 'yes' or 'no',
-- (not Options.options.disable_database) and 'yes' or 'no',
-+# (not Options.options.disable_database) and 'yes' or 'no',
- conf.env.BUILD_MYSQL and 'yes' or 'no',
- conf.env.BUILD_PGSQL and 'yes' or 'no',
- conf.env.BUILD_MPRPC and 'yes' or 'no',
---- src/database/wscript.orig 2012-04-11 23:27:52.000000000 +0900
-+++ src/database/wscript 2012-04-11 23:27:52.000000000 +0900
-@@ -2,15 +2,19 @@
- import Options
-
- def options(opt):
-- opt.add_option('--disable-database',
-+ opt.add_option('--disable-mysql',
- action = 'store_true',
- default = False,
-- help = 'disable database')
-+ help = 'disable mysql')
-+ opt.add_option('--disable-postgresql',
-+ action = 'store_true',
-+ default = False,
-+ help = 'disable postgresql')
-
- def configure(conf):
- conf.env.BUILD_MYSQL = False
-- if not Options.options.disable_database:
-- if conf.check_cfg(path = 'mysql_config',
-+ if not Options.options.disable_mysql:
-+ if conf.check_cfg(path = '@prefix@/bin/mysql_config at my_version@',
- args = '--cflags --libs_r',
- package = '',
- uselib_store = 'MYSQL',
-@@ -21,10 +25,10 @@
- conf.env.BUILD_MYSQL = True
-
- conf.env.BUILD_PGSQL = False
-- if not Options.options.disable_database:
-+ if not Options.options.disable_postgresql:
- try:
-- incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode()
-- libdir = subprocess.check_output(['pg_config', '--libdir']).decode()
-+ incdir = subprocess.check_output(['@prefix@/lib/postgresql at pg_version@/bin/pg_config', '--includedir-server']).rstrip()
-+ libdir = subprocess.check_output(['@prefix@/lib/postgresql at pg_version@/bin/pg_config', '--libdir']).rstrip()
- if conf.check_cxx(lib = 'pq',
- header_name = 'postgres.h',
- cxxflags = '-I' + incdir,
---- src/database/postgresql/wscript.orig 2012-04-11 23:27:52.000000000 +0900
-+++ src/database/postgresql/wscript 2012-04-13 01:42:46.000000000 +0900
-@@ -8,4 +8,4 @@
- target = 'pficommon_database_postgresql',
- includes = '. ..',
- vnum = bld.env['VERSION'],
-- use = 'PGSQL')
-+ use = ['pficommon_system', 'PGSQL'])
+*** wscript.orig Mon Jun 11 23:46:50 2012
+--- wscript Mon Jun 11 23:46:50 2012
+***************
+*** 50,56 ****
+
+ [Modules]
+ FCGI module: %s
+! Database module: %s
+ have MySQL lib: %s
+ have PostgreSQL lib: %s
+ MessagePack RPC module: %s
+--- 50,56 ----
+
+ [Modules]
+ FCGI module: %s
+! Database module:
+ have MySQL lib: %s
+ have PostgreSQL lib: %s
+ MessagePack RPC module: %s
+***************
+*** 66,72 ****
+ Compiler version: %s
+ CXXFLAGS: %s
+ """ % (conf.env.BUILD_FCGI and 'yes' or 'no',
+! (not Options.options.disable_database) and 'yes' or 'no',
+ conf.env.BUILD_MYSQL and 'yes' or 'no',
+ conf.env.BUILD_PGSQL and 'yes' or 'no',
+ conf.env.BUILD_MPRPC and 'yes' or 'no',
+--- 66,72 ----
+ Compiler version: %s
+ CXXFLAGS: %s
+ """ % (conf.env.BUILD_FCGI and 'yes' or 'no',
+! # (not Options.options.disable_database) and 'yes' or 'no',
+ conf.env.BUILD_MYSQL and 'yes' or 'no',
+ conf.env.BUILD_PGSQL and 'yes' or 'no',
+ conf.env.BUILD_MPRPC and 'yes' or 'no',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120611/f0eb0b84/attachment.html>
More information about the macports-changes
mailing list