summaryrefslogtreecommitdiff
path: root/mail/libetpan
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2010-02-19 20:20:18 +0000
committerheinz <heinz@pkgsrc.org>2010-02-19 20:20:18 +0000
commit58dc3f956faaebe69160526984f159b0ed19c350 (patch)
treef03a8df1bf3d7cb6171e04061d55c6063d9ae09f /mail/libetpan
parentaedbd13765dfb62af2ced593c19c33f2d5d35f6e (diff)
downloadpkgsrc-58dc3f956faaebe69160526984f159b0ed19c350.tar.gz
PRIVILEGED_STAGES is only necessary if installation does not use
DESTDIR.
Diffstat (limited to 'mail/libetpan')
-rw-r--r--mail/libetpan/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile
index 8137b07527e..7d8ec382e22 100644
--- a/mail/libetpan/Makefile
+++ b/mail/libetpan/Makefile
@@ -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++
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