pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkgfind Only NetBSD, FreeBSD and DragonFly se...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2b7088ffa68
branches: trunk
changeset: 488432:f2b7088ffa68
user: peter <peter%pkgsrc.org@localhost>
date: Mon Jan 31 14:58:31 2005 +0000
description:
Only NetBSD, FreeBSD and DragonFly seem to have set/getprogname so include
libnbcompat for all other OS's. This should address PR pkg/29152.
diffstat:
pkgtools/pkgfind/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 49c699443d88 -r f2b7088ffa68 pkgtools/pkgfind/Makefile
--- a/pkgtools/pkgfind/Makefile Mon Jan 31 13:54:08 2005 +0000
+++ b/pkgtools/pkgfind/Makefile Mon Jan 31 14:58:31 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/01/27 20:42:23 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2005/01/31 14:58:31 peter Exp $
DISTNAME= pkgfind-20050127
CATEGORIES= pkgtools
@@ -34,10 +34,11 @@
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "IRIX"
+# need err(1), warn(1), set/getprogname(1)
+.if ${OPSYS} != "NetBSD" && ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly"
CFLAGS+= -DNEED_LIBNBCOMPAT
LDFLAGS+= -lnbcompat
-. include "../../pkgtools/libnbcompat/buildlink3.mk" # need err(1), warn(1)
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index