From 7b488295120bfec78abcdd29c219fd0995676c04 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 21 Apr 2001 11:43:12 +0000 Subject: Fix include directory for postgresql7.1's new layout. --- security/pam-pgsql/Makefile | 3 ++- security/pam-pgsql/files/Makefile.bsd | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'security/pam-pgsql') 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 -- cgit v1.2.3