pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_filecheck Added a dependency on libnbcomp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e1024557976
branches:  trunk
changeset: 503271:6e1024557976
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 17 17:02:04 2005 +0000

description:
Added a dependency on libnbcompat to allow building on Solaris easier.
(See PR 23746.) It still needs work in the area of Berkeley DB
selection. Bumped PKGREVISION.

diffstat:

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

diffs (46 lines):

diff -r d3697011cd27 -r 6e1024557976 pkgtools/pkg_filecheck/Makefile
--- a/pkgtools/pkg_filecheck/Makefile   Thu Nov 17 16:56:39 2005 +0000
+++ b/pkgtools/pkg_filecheck/Makefile   Thu Nov 17 17:02:04 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2005/07/16 01:19:17 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2005/11/17 17:02:04 rillig Exp $
 #
 
 DISTNAME=              pkg_filecheck-0.1
+PKGREVISION=           1
 CATEGORIES=            pkgtools devel
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -46,4 +47,5 @@
        ${INSTALL_DATA} ${WRKSRC}/pkg_filecheck.conf \
                ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf
 
+.include "../../pkgtools/libnbcompat/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d3697011cd27 -r 6e1024557976 pkgtools/pkg_filecheck/files/pkg_filecheck.c
--- a/pkgtools/pkg_filecheck/files/pkg_filecheck.c      Thu Nov 17 16:56:39 2005 +0000
+++ b/pkgtools/pkg_filecheck/files/pkg_filecheck.c      Thu Nov 17 17:02:04 2005 +0000
@@ -1,5 +1,5 @@
 /*
-  $NetBSD: pkg_filecheck.c,v 1.1.1.1 2003/07/13 16:15:34 wiz Exp $
+  $NetBSD: pkg_filecheck.c,v 1.2 2005/11/17 17:02:04 rillig Exp $
 
   pkg_filecheck.c -- check for files not owned by any package
   Copyright (C) 2001 Dieter Baron
@@ -30,12 +30,16 @@
   IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#include <nbcompat.h>
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <db.h>
 #include <errno.h>
 #include <fcntl.h>
+#ifdef HAVE_FTS_H
 #include <fts.h>
+#endif
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>



Home | Main Index | Thread Index | Old Index