aboutsummaryrefslogtreecommitdiff
path: root/security/pam-pgsql
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
commit7b488295120bfec78abcdd29c219fd0995676c04 (patch)
tree24fccee7f220d354bab8169352f38ae33d6ecb56 /security/pam-pgsql
parentbfb9f8e6c93b2c638014779f1429d726c35e4e69 (diff)
downloadports-7b488295120bfec78abcdd29c219fd0995676c04.tar.gz
ports-7b488295120bfec78abcdd29c219fd0995676c04.zip
Fix include directory for postgresql7.1's new layout.
Notes
Notes: svn path=/head/; revision=41759
Diffstat (limited to 'security/pam-pgsql')
-rw-r--r--security/pam-pgsql/Makefile3
-rw-r--r--security/pam-pgsql/files/Makefile.bsd6
2 files changed, 5 insertions, 4 deletions
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index f7688756ab5d..1210f997e279 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pam-pgsql
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= security databases
# When the family of Debian mirrors is added to bsd.port.mk,
# this will suddenly start making sense:
@@ -18,7 +19,7 @@ DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= mi@aldan.algebra.com
-LIB_DEPENDS= pq:${PORTSDIR}/databases/postgresql7
+LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ARGS+= -j 2
diff --git a/security/pam-pgsql/files/Makefile.bsd b/security/pam-pgsql/files/Makefile.bsd
index 849bc8782ef7..43e689a0de99 100644
--- a/security/pam-pgsql/files/Makefile.bsd
+++ b/security/pam-pgsql/files/Makefile.bsd
@@ -4,9 +4,9 @@ SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c
LIB= pam_pgsql
SHLIB_NAME=${LIB}.so
-LDADD= -lpam -L${LOCALBASE}/pgsql/lib -lpq
-INCLUDE= -I${LOCALBASE}/pgsql/include
-CFLAGS+= -Wall -D_GNU_SOURCE -I${LOCALBASE}/pgsql/include
+LDADD= -lpam -L${LOCALBASE}/lib -lpq
+INCLUDE= -I${LOCALBASE}/include/pgsql
+CFLAGS+= -Wall -D_GNU_SOURCE -I${LOCALBASE}/include/pgsql
INTERNALLIB= we don't need no stinking static lib