diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
commit | 7b488295120bfec78abcdd29c219fd0995676c04 (patch) | |
tree | 24fccee7f220d354bab8169352f38ae33d6ecb56 /www/mod_auth_pgsql | |
parent | bfb9f8e6c93b2c638014779f1429d726c35e4e69 (diff) | |
download | ports-7b488295120bfec78abcdd29c219fd0995676c04.tar.gz ports-7b488295120bfec78abcdd29c219fd0995676c04.zip |
Notes
Diffstat (limited to 'www/mod_auth_pgsql')
-rw-r--r-- | www/mod_auth_pgsql/Makefile | 10 | ||||
-rw-r--r-- | www/mod_auth_pgsql/files/patch-configure | 40 |
2 files changed, 45 insertions, 5 deletions
diff --git a/www/mod_auth_pgsql/Makefile b/www/mod_auth_pgsql/Makefile index 1edca2dfcc4c..73037103da46 100644 --- a/www/mod_auth_pgsql/Makefile +++ b/www/mod_auth_pgsql/Makefile @@ -6,15 +6,15 @@ PORTNAME= mod_auth_pgsql PORTVERSION= 0.9.5a +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ftp://ftp.eurolink.it/pub/linux/postgreSQL/mod_auth_pgsql/ MAINTAINER= mi@aldan.algebra.com -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT} \ - ${LOCALBASE}/pgsql/lib/libpq.so:${PORTSDIR}/databases/postgresql7 -RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT} \ - ${LOCALBASE}/pgsql/lib/libpq.so:${PORTSDIR}/databases/postgresql7 +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT} +RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT} +LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//} @@ -46,7 +46,7 @@ PLIST_SUB+= AUTH_PGSQL_DOCS="${AUTH_PGSQL_DOCS}" PKGMESSAGE= ${WRKSRC}/.install_notes HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-pgsql=${PREFIX}/pgsql \ +CONFIGURE_ARGS= --with-pgsql=${PREFIX} \ --with-apxs=${APXS} .if !defined(NOPORTDOCS) diff --git a/www/mod_auth_pgsql/files/patch-configure b/www/mod_auth_pgsql/files/patch-configure new file mode 100644 index 000000000000..f13c0017d002 --- /dev/null +++ b/www/mod_auth_pgsql/files/patch-configure @@ -0,0 +1,40 @@ +--- configure.orig Sat Apr 21 19:23:27 2001 ++++ configure Sat Apr 21 19:24:38 2001 +@@ -1077,20 +1077,20 @@ + withval="$with_pgsql" + + if test "$withval" != "no" ; then +- if test -f "$withval/include/libpq-fe.h" ; then ++ if test -f "$withval/include/pgsql/libpq-fe.h" ; then + PG_DIR=$withval +- PG_INCLUDE="$withval/include" ++ PG_INCLUDE="$withval/include/pgsql" + PG_LIB="$withval/lib" + fi + if test "$PG_DIR" = "" ; then +- if test -f "$withval/include/libpq-fe.h" ; then ++ if test -f "$withval/include/pgsql/libpq-fe.h" ; then + XML_DIR=$withval +- XML_INCLUDE="$withval/include" ++ XML_INCLUDE="$withval/include/pgsql" + XML_LIB="$withval/lib" + fi + fi + if test "$PG_DIR" = "" ; then +- if test -f "$withval/lib/libpq.a" -a -f "$withval/include/libpq-fe.h" ; then ++ if test -f "$withval/lib/libpq.a" -a -f "$withval/include/pgsql/libpq-fe.h" ; then + XML_DIR=$withval + XML_INCLUDE="$withval/include" + XML_LIB=$withval/lib +@@ -1106,9 +1106,9 @@ + + if test "$PG_DIR" = ""; then + for i in /usr /usr/local /usr/local/postgres; do +- if test -f "$i/include/libpq-fe.h"; then ++ if test -f "$i/include/pgsql/libpq-fe.h"; then + PG_DIR=$i +- PG_INCLUDE="$i/include" ++ PG_INCLUDE="$i/include/pgsql" + PG_LIB="$i/lib" + elif test -f "$i/include/pgsql/libpq-fe.h"; then + PG_DIR=$i |