summaryrefslogtreecommitdiff
path: root/pkgtools/pkgfind
diff options
context:
space:
mode:
authorpeter <peter@pkgsrc.org>2005-01-31 14:58:31 +0000
committerpeter <peter@pkgsrc.org>2005-01-31 14:58:31 +0000
commit0566289df48d626eca613a236595de0787666f37 (patch)
treea8590a794f57438fba9680a07e6a867a5be0a321 /pkgtools/pkgfind
parentae9ac5a1c16281afa302e78c9d2bc72a3931a97d (diff)
downloadpkgsrc-0566289df48d626eca613a236595de0787666f37.tar.gz
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 (limited to 'pkgtools/pkgfind')
-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"