summaryrefslogtreecommitdiff
path: root/www/curl
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
commit362fcff9939e1bd1361daace3e1de24be1a085fb (patch)
tree44c63eccf29698edebbc72917d7b0041930cc37f /www/curl
parente753ba526adfe8754eefa9111d9cdd4f4cff9fe4 (diff)
downloadpkgsrc-362fcff9939e1bd1361daace3e1de24be1a085fb.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/curl')
-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