summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-01 16:31:55 +0000
committerhans <hans@pkgsrc.org>2012-03-01 16:31:55 +0000
commit9c47fbd37d5995ca0161564c9a6461ea77d24a4d (patch)
treec71a22e3b14f6a6c44aefc8a98c1d4a00e809a8c /pkgtools
parente500404846ef3801a26cdbfb287ceaf8fdc8c714 (diff)
downloadpkgsrc-9c47fbd37d5995ca0161564c9a6461ea77d24a4d.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')
-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