summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2008-05-02 05:08:22 +0000
committerxtraeme <xtraeme@pkgsrc.org>2008-05-02 05:08:22 +0000
commit6dd33d5b4484e2941e6061eab8f8855ec8ac03a1 (patch)
tree44c63eccf29698edebbc72917d7b0041930cc37f /www
parent12cdf9c86ad68d89925a2b558efa83ece6b955ec (diff)
downloadpkgsrc-6dd33d5b4484e2941e6061eab8f8855ec8ac03a1.tar.gz
Some files cannot be removed at the clean stage as non-root user, so
use the same strategy than python uses: PRIVILEGED_STAGES+=clean.
Diffstat (limited to 'www')
-rw-r--r--www/curl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index 3019ec10e2f..4d411a44aa6 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2008/03/10 18:35:54 drochner Exp $
+# $NetBSD: Makefile,v 1.81 2008/05/02 05:08:22 xtraeme Exp $
DISTNAME= curl-7.18.0
PKGREVISION= 1
@@ -31,6 +31,10 @@ TEST_TARGET= check
USE_TOOLS+= perl
.endif
+.if ${OPSYS} == "NetBSD" && ${_USE_DESTDIR} == "no"
+PRIVILEGED_STAGES+= clean
+.endif
+
.include "options.mk"
#
# XXXbjs CHANGES claims this is fixed. I have left it here commented out