summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
committervanilla <vanilla@FreeBSD.org>2001-04-21 11:43:12 +0000
commitf0a2f2797f4d3272e245e7751bde364a15634c65 (patch)
tree172d9b14a805ee232c5d60d2e8797ff7a8f45e81 /security
parent4f94b9c8c7df606bab11c747db7be3620e297d1c (diff)
downloadFreeBSD-ports-f0a2f2797f4d3272e245e7751bde364a15634c65.zip
FreeBSD-ports-f0a2f2797f4d3272e245e7751bde364a15634c65.tar.gz
Fix include directory for postgresql7.1's new layout.
Diffstat (limited to 'security')
-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 f768875..1210f99 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 849bc87..43e689a 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
OpenPOWER on IntegriCloud