diff options
author | jlam <jlam> | 2000-04-09 03:53:50 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-04-09 03:53:50 +0000 |
commit | 616e3a66c98b06f2ad4d9cf0db65698c94b6fb62 (patch) | |
tree | 05201b1af8d2cc6039a3a92efbec24e58b67ff9e /www | |
parent | 13bab05bb3f28ea61f73561ad23a10d968afa5d7 (diff) | |
download | pkgsrc-616e3a66c98b06f2ad4d9cf0db65698c94b6fb62.tar.gz |
Adapt to new postgresql include/library locations.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-auth-postgresql/Makefile | 13 | ||||
-rw-r--r-- | www/php3-pgsql/Makefile | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/www/ap-auth-postgresql/Makefile b/www/ap-auth-postgresql/Makefile index 7ed23881dcd..dc46fff676e 100644 --- a/www/ap-auth-postgresql/Makefile +++ b/www/ap-auth-postgresql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/01/10 22:33:12 jwise Exp $ +# $NetBSD: Makefile,v 1.2 2000/04/09 03:58:13 jlam Exp $ DISTNAME= AuthPG-1.1b1 PKGNAME= ap-auth-postgresql-1.1b1 @@ -13,17 +13,16 @@ DEPENDS+= postgresql-*:../../databases/postgresql # For "apxs": BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5 -PGUSER?= pgsql - -INCLUDES= -I${PREFIX}/${PGUSER}/include -LIBS= -L${PREFIX}/${PGUSER}/lib -Wl,-R${PREFIX}/${PGUSER}/lib -lpq +CPPFLAGS+= -I${LOCALBASE}/include/pgsql +LIBS= -lpq -lcrypt do-build: - cd ${WRKSRC} && ${PREFIX}/sbin/apxs ${INCLUDES} ${LIBS} -c mod_auth_pg.c + cd ${WRKSRC} && ${PREFIX}/sbin/apxs \ + ${CPPFLAGS} ${LDFLAGS} ${LIBS} -c mod_auth_pg.c do-install: @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_auth_pg.so - -${MKDIR} ${PREFIX}/share/doc/mod_auth_pg + -${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_pg ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.html ${PREFIX}/share/doc/mod_auth_pg ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.ko.html ${PREFIX}/share/doc/mod_auth_pg ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_auth_pg diff --git a/www/php3-pgsql/Makefile b/www/php3-pgsql/Makefile index 5f91f46d64d..24e1ebcfd17 100644 --- a/www/php3-pgsql/Makefile +++ b/www/php3-pgsql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/04/02 16:40:41 hubertf Exp $ +# $NetBSD: Makefile,v 1.6 2000/04/09 04:00:35 jlam Exp $ # PKGNAME= php-pgsql-${PHP_VERSION} @@ -11,8 +11,8 @@ BUILDING_EXTENSION_MODULE=yes do-build: cd ${WRKSRC}/functions && \ - ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include -fPIC -DPIC -DCOMPILE_DL pgsql.c && \ - ld -Bshareable -o pgsql.so pgsql.o -L${LOCALBASE}/lib -R${LOCALBASE}/lib -lpq + ${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/pgsql -fPIC -DPIC -DCOMPILE_DL pgsql.c && \ + ld -Bshareable -o pgsql.so pgsql.o -L${LOCALBASE}/lib -R${LOCALBASE}/lib -lpq -lcrypt do-install: ${INSTALL_DATA} ${WRKSRC}/functions/pgsql.so ${PREFIX}/lib/php3/ |