summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_filecheck
diff options
context:
space:
mode:
authorhans <hans>2012-03-01 16:31:55 +0000
committerhans <hans>2012-03-01 16:31:55 +0000
commitd45ce2767c25468642aacd72917aee93d5466e12 (patch)
treec71a22e3b14f6a6c44aefc8a98c1d4a00e809a8c /pkgtools/pkg_filecheck
parenta01811fa3f162884578ead8f61a7c780f372f505 (diff)
downloadpkgsrc-d45ce2767c25468642aacd72917aee93d5466e12.tar.gz
Remove NO_CONFIGURE=yes so that libnbcompat is built. Use LIBS when
linking. Fixes build on SunOS, also tested on NetBSD.
Diffstat (limited to 'pkgtools/pkg_filecheck')
-rw-r--r--pkgtools/pkg_filecheck/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile
index de7dac14dd6..2a3a6bb1bb8 100644
--- a/pkgtools/pkg_filecheck/Makefile
+++ b/pkgtools/pkg_filecheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2009/04/09 00:48:12 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2012/03/01 16:31:55 hans Exp $
#
DISTNAME= pkg_filecheck-0.4
@@ -16,8 +16,6 @@ WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
USE_FEATURES= fts_open
-NO_CONFIGURE= yes
-
FILES_SUBST+= X11PREFIX=${X11PREFIX:Q}
FILES_SUBST+= PKG_DBDIR=${PKG_DBDIR:Q}
CONF_FILES= ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \
@@ -45,7 +43,7 @@ post-extract:
do-build:
cd ${WRKSRC} \
&& ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${BDB_LIBS} \
- -o pkg_filecheck pkg_filecheck.c
+ -o pkg_filecheck pkg_filecheck.c ${LIBS}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/builddb.pl ${DESTDIR}${PREFIX}/bin/builddb