summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd>2011-12-17 00:12:29 +0000
committersbd <sbd>2011-12-17 00:12:29 +0000
commit808c05e162396ee3a78291d765d2af324b4782ee (patch)
treefffe1045afe88a19c3d7145e60084d2668bb946e
parent76dba5a5cd330c5439f248a2ae8fc41d2ee9668b (diff)
downloadpkgsrc-808c05e162396ee3a78291d765d2af324b4782ee.tar.gz
If using fetch in FETCH_USING then fetch and libfetch cannot use checkperms.
-rw-r--r--net/fetch/Makefile7
-rw-r--r--net/libfetch/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/net/fetch/Makefile b/net/fetch/Makefile
index d34d06e2424..02b15c61ad4 100644
--- a/net/fetch/Makefile
+++ b/net/fetch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2010/01/22 13:22:28 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2011/12/17 00:12:29 sbd Exp $
#
DISTNAME= fetch-1.7
@@ -18,6 +18,11 @@ USE_FEATURES= nbcompat
GNU_CONFIGURE= yes
USE_BSD_MAKEFILE= yes
+.include "../../mk/bsd.prefs.mk"
+.if !empty(FETCH_USING:Mfetch)
+CHECK_PERMS= no
+.endif
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
do-extract:
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile
index 4f2c04e7297..983bb13a9ec 100644
--- a/net/libfetch/Makefile
+++ b/net/libfetch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2010/08/20 17:56:49 joerg Exp $
+# $NetBSD: Makefile,v 1.41 2011/12/17 00:12:29 sbd Exp $
#
DISTNAME= libfetch-2.33
@@ -19,6 +19,11 @@ USE_BSD_MAKEFILE= yes
MAKE_JOBS_SAFE= NO
+.include "../../mk/bsd.prefs.mk"
+.if !empty(FETCH_USING:Mfetch)
+CHECK_PERMS= no
+.endif
+
INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3
BUILD_TARGET= depend all