pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_filecheck This package uses db 1.85, so i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1e724b7f095
branches:  trunk
changeset: 464675:f1e724b7f095
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Sun Dec 14 11:45:09 2003 +0000

description:
This package uses db 1.85, so include its buildlink.
Don't use implicit make rules, invoke compiler explicitly.

Addresses PR 23746.

diffstat:

 pkgtools/pkg_filecheck/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 1b63678608da -r f1e724b7f095 pkgtools/pkg_filecheck/Makefile
--- a/pkgtools/pkg_filecheck/Makefile   Sun Dec 14 11:38:21 2003 +0000
+++ b/pkgtools/pkg_filecheck/Makefile   Sun Dec 14 11:45:09 2003 +0000
@@ -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 @@
 
 USE_PERL5=     run
 USE_PKGINSTALL=        yes
+USE_DB185=     yes
 
 EXTRACT_ONLY=  # empty
 NO_CHECKSUM=   yes
@@ -30,7 +31,9 @@
                < ${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 @@
        ${INSTALL_DATA} ${WRKSRC}/pkg_filecheck.conf \
                ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf
 
+.include "../../databases/db/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index