pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/libetpan PRIVILEGED_STAGES is only necessary if i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd9f58ff33f3
branches:  trunk
changeset: 572065:dd9f58ff33f3
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Fri Feb 19 20:20:18 2010 +0000

description:
PRIVILEGED_STAGES is only necessary if installation does not use
DESTDIR.

diffstat:

 mail/libetpan/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1d7b86890274 -r dd9f58ff33f3 mail/libetpan/Makefile
--- a/mail/libetpan/Makefile    Fri Feb 19 20:17:09 2010 +0000
+++ b/mail/libetpan/Makefile    Fri Feb 19 20:20:18 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2010/02/19 20:16:40 heinz Exp $
+# $NetBSD: Makefile,v 1.29 2010/02/19 20:20:18 heinz Exp $
 #
 
 DISTNAME=              libetpan-0.57
@@ -19,7 +19,10 @@
 USE_LANGUAGES+=                c
 MAKE_JOBS_SAFE=                no
 
+.include "../../mk/bsd.prefs.mk"
+.if empty(USE_DESTDIR:M[Yy][Ee][Ss])
 PRIVILEGED_STAGES+=    clean
+.endif
 
 SUBST_CLASSES+=                conf
 SUBST_STAGE.conf=      pre-configure



Home | Main Index | Thread Index | Old Index