aboutsummaryrefslogtreecommitdiff
path: root/security/pks
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2007-01-01 15:25:35 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2007-01-01 15:25:35 +0000
commitd5e9ec175516fa817b8cd02a60a4df4174e9acd4 (patch)
treeea794944d550f50b6c1a434b49c4be77950c74cb /security/pks
parent57f2af3b753e9472b21041b7c0ec7d8391b5bbd8 (diff)
downloadports-d5e9ec175516fa817b8cd02a60a4df4174e9acd4.tar.gz
ports-d5e9ec175516fa817b8cd02a60a4df4174e9acd4.zip
Notes
Diffstat (limited to 'security/pks')
-rw-r--r--security/pks/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/pks/Makefile b/security/pks/Makefile
index bfac8267a94f..b3381a66855c 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -15,13 +15,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gtodd@bellanet.org
COMMENT= PGP Public Key Server
-LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2
+USE_BDB= yes
+WANT_BDB_VER= 2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \
--sysconfdir=${EXAMPLESDIR} \
--libdir=${LOCALBASE}/lib --with-libwrap
-CFLAGS+= -I${LOCALBASE}/include/db2
+CFLAGS+= -I${BDB_INCLUDE_DIR}
MAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib SUBDIRS=
USE_RC_SUBR= pksd.sh
@@ -34,8 +35,8 @@ SUB_FILES= pkg-message pkg-deinstall
post-patch:
${RM} -rf ${WRKSRC}/db2-sleepycat
${REINPLACE_CMD} 's|SUBDIRS =.*|SUBDIRS =|; \
- s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -ldb2|; \
- s|DBDIR =.*|DBDIR = ${LOCALBASE}/include/db2|' \
+ s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -l${BDB_LIB_NAME}|; \
+ s|DBDIR =.*|DBDIR = ${BDB_INCLUDE_DIR}|' \
${WRKSRC}/Makefile.in
post-install: