diff options
author | dillo <dillo@pkgsrc.org> | 2003-12-14 11:45:09 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2003-12-14 11:45:09 +0000 |
commit | b3c1202280fd4a0e59b20987897809c2c2ff979d (patch) | |
tree | 47093fac7bc36d870bbeb0ced9c62df669d9492a /pkgtools | |
parent | a50063ab7eb8ed6bb1540d0330650c4863443e03 (diff) | |
download | pkgsrc-b3c1202280fd4a0e59b20987897809c2c2ff979d.tar.gz |
This package uses db 1.85, so include its buildlink.
Don't use implicit make rules, invoke compiler explicitly.
Addresses PR 23746.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_filecheck/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile index 8c48b0c7caf..4561ab1a5f9 100644 --- a/pkgtools/pkg_filecheck/Makefile +++ b/pkgtools/pkg_filecheck/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/07/30 10:41:25 jmmv Exp $ +# $NetBSD: Makefile,v 1.5 2003/12/14 11:45:09 dillo Exp $ # DISTNAME= pkg_filecheck-0.1 @@ -13,6 +13,7 @@ COMMENT= Check for files not owned by any package USE_PERL5= run USE_PKGINSTALL= yes +USE_DB185= yes EXTRACT_ONLY= # empty NO_CHECKSUM= yes @@ -30,7 +31,9 @@ do-build: < ${FILESDIR}/${f} \ > ${WRKSRC}/${f} .endfor - cd ${WRKSRC} && ${MAKE} pkg_filecheck + cd ${WRKSRC} \ + && ${CC} ${CFLAGS} ${LDFLAGS} -o pkg_filecheck pkg_filecheck.c \ + ${BUILDLINK_LIBS.db} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/builddb.pl ${PREFIX}/bin/builddb @@ -42,4 +45,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/pkg_filecheck.conf \ ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf +.include "../../databases/db/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |