summaryrefslogtreecommitdiff
path: root/www/ap-auth-postgresql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-04-09 03:53:50 +0000
committerjlam <jlam@pkgsrc.org>2000-04-09 03:53:50 +0000
commite2104b8abbd824b77c27997e1b0e9d549be08d52 (patch)
tree05201b1af8d2cc6039a3a92efbec24e58b67ff9e /www/ap-auth-postgresql
parent26b81e569891db09dd1ab4b46c2729ba3d5d1ac4 (diff)
downloadpkgsrc-e2104b8abbd824b77c27997e1b0e9d549be08d52.tar.gz
Adapt to new postgresql include/library locations.
Diffstat (limited to 'www/ap-auth-postgresql')
-rw-r--r--www/ap-auth-postgresql/Makefile13
1 files changed, 6 insertions, 7 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