pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/curl Some files cannot be removed at the clean sta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6e059662edd
branches:  trunk
changeset: 542106:b6e059662edd
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri May 02 05:08:22 2008 +0000

description:
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:

 www/curl/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ac6bbd90ac8c -r b6e059662edd www/curl/Makefile
--- a/www/curl/Makefile Fri May 02 03:56:08 2008 +0000
+++ b/www/curl/Makefile Fri May 02 05:08:22 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index