[73862] trunk/dports/www/mnogosearch
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 27 01:59:05 PST 2010
Revision: 73862
http://trac.macports.org/changeset/73862
Author: ryandesign at macports.org
Date: 2010-11-27 01:59:00 -0800 (Sat, 27 Nov 2010)
Log Message:
-----------
mnogosearch: maintainer update to add postgresql84 variant; see #27122
Modified Paths:
--------------
trunk/dports/www/mnogosearch/Portfile
trunk/dports/www/mnogosearch/files/patch-locations_configure.in
Modified: trunk/dports/www/mnogosearch/Portfile
===================================================================
--- trunk/dports/www/mnogosearch/Portfile 2010-11-27 09:54:05 UTC (rev 73861)
+++ trunk/dports/www/mnogosearch/Portfile 2010-11-27 09:59:00 UTC (rev 73862)
@@ -61,23 +61,29 @@
configure.args-append --with-mysql=${prefix}
}
-variant postgresql7 conflicts postgresql81 postgresql83 {
+variant postgresql7 conflicts postgresql81 postgresql83 postgresql84 {
depends_lib-append port:postgresql7
configure.args-append --with-pgsql=${prefix}/lib/pgsql7
}
-variant postgresql81 conflicts postgresql7 postgresql83 {
+variant postgresql81 conflicts postgresql7 postgresql83 postgresql84 {
depends_lib-append port:postgresql81
configure.args-append --with-pgsql=${prefix}/lib/postgresql81
}
-variant postgresql83 conflicts postgresql7 postgresql81 {
+variant postgresql83 conflicts postgresql7 postgresql81 postgresql84 {
use_autoconf yes
patchfiles-append patch-locations_configure.in
depends_lib-append port:postgresql83
configure.args-append --with-pgsql=${prefix}
}
+variant postgresql84 conflicts postgresql7 postgresql81 postgresql83 {
+ use_autoconf yes
+ patchfiles-append patch-locations_configure.in
+ depends_lib-append port:postgresql84
+ configure.args-append --with-pgsql=${prefix}
+}
# Other database variants would go here
Modified: trunk/dports/www/mnogosearch/files/patch-locations_configure.in
===================================================================
--- trunk/dports/www/mnogosearch/files/patch-locations_configure.in 2010-11-27 09:54:05 UTC (rev 73861)
+++ trunk/dports/www/mnogosearch/files/patch-locations_configure.in 2010-11-27 09:59:00 UTC (rev 73862)
@@ -1,5 +1,5 @@
---- configure.in.orig 2008-11-21 21:53:33.000000000 +0100
-+++ configure.in 2009-06-17 10:31:51.000000000 +0200
+--- configure.in.orig 2010-11-03 15:12:17.000000000 +0100
++++ configure.in 2010-11-03 15:14:48.000000000 +0100
@@ -953,7 +953,11 @@
AC_MSG_ERROR(Unknown MySQL directory - unable to find mysql.h)
fi
@@ -13,14 +13,16 @@
MYSQL_INCDIR=$withval/include/mysql
MYSQL_LIBDIR=$withval/lib/mysql
elif test -f $withval/include/mysql.h; then
-@@ -1009,8 +1013,10 @@
+@@ -1009,8 +1013,12 @@
else
PGSQL_INCDIR=$withval/include
test -d $withval/include/pgsql && PGSQL_INCDIR=$withval/include/pgsql
+ test -d $withval/include/postgresql83 && PGSQL_INCDIR=$withval/include/postgresql83
++ test -d $withval/include/postgresql84 && PGSQL_INCDIR=$withval/include/postgresql84
PGSQL_LIBDIR=$withval/lib
test -d $withval/lib/pgsql && PGSQL_LIBDIR=$withval/lib/pgsql
+ test -d $withval/lib/postgresql83 && PGSQL_LIBDIR=$withval/lib/postgresql83
++ test -d $withval/lib/postgresql84 && PGSQL_LIBDIR=$withval/lib/postgresql84
fi
PGSQL_INCLUDE="-I$PGSQL_INCDIR"
PGSQL_LFLAGS="-L$PGSQL_LIBDIR -lpq"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101127/23d0cb90/attachment.html>
More information about the macports-changes
mailing list