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_php4 | |
parent | Upgrade to 7.1, change to new layout style. (diff) |
Fix include directory for postgresql7.1's new layout.
Diffstat (limited to 'www/mod_php4')
-rw-r--r-- | www/mod_php4/Makefile | 1 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index 9c7ba331528b..3ae8b2b8d5e3 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -7,6 +7,7 @@ PORTNAME?= mod_php4 PORTVERSION= 4.0.4pl1 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \ http://php.he.net/${PHP_DISTDIR}/ \ diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 4bd4ef2a17d0..585fb91eee0e 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -113,8 +113,8 @@ while [ "$1" ]; do ;; \"PostgreSQL\") echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7" - echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}/pgsql" - if /usr/bin/ldd ${PREFIX}/pgsql/bin/postgres 2> /dev/null | /usr/bin/grep -q "libssl"; then + echo "CONFIGURE_ARGS+=--with-pgsql=\${PREFIX}" + if /usr/bin/ldd ${PREFIX}/bin/postgres 2> /dev/null | /usr/bin/grep -q "libssl"; then echo "USE_OPENSSL= yes" LIBS="${LIBS} -L\${OPENSSLBASE}/lib -lcrypto -lssl" fi |