From b04826706cc529c44f499c033d7d5a9cef5eb98d Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 17 Nov 2004 08:13:09 +0000 Subject: Fix so this package builds with existing bdb.buildlink3.mk. --- pkgtools/pkg_filecheck/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile index bac77fc562f..8b5968c13dc 100644 --- a/pkgtools/pkg_filecheck/Makefile +++ b/pkgtools/pkg_filecheck/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/11/15 17:54:50 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2004/11/17 08:13:09 jlam Exp $ # DISTNAME= pkg_filecheck-0.1 @@ -24,15 +24,16 @@ FILES_SUBST+= PKG_DBDIR=${PKG_DBDIR} CONF_FILES= ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \ ${PKG_SYSCONFDIR}/pkg_filecheck.conf +.include "../../mk/bdb.buildlink3.mk" + do-build: .for f in builddb.pl builddb.1 pkg_filecheck.conf pkg_filecheck.conf.5 \ pkg_filecheck.c pkg_filecheck.1 ${SED} ${FILES_SUBST_SED} ${FILESDIR}/${f} > ${WRKSRC}/${f} .endfor cd ${WRKSRC} \ - && ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ + && ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${BDB_LIBS} \ -o pkg_filecheck pkg_filecheck.c \ - ${BUILDLINK_LDFLAGS.db} ${BUILDLINK_LIBS.db} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/builddb.pl ${PREFIX}/bin/builddb @@ -44,5 +45,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/pkg_filecheck.conf \ ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf -.include "../../mk/bdb.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3