summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgfind/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkgfind/Makefile b/pkgtools/pkgfind/Makefile
index c2d9b93d00d..7f2ad8ab2c3 100644
--- a/pkgtools/pkgfind/Makefile
+++ b/pkgtools/pkgfind/Makefile
@@ -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 @@ SUBST_MESSAGE.path= "Adjusting pkgsrc directory."
.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"