From b98e3a8ca2bf021976a69a804107d4b2f9f71893 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 8 Feb 2013 12:23:24 +0000 Subject: When using destdir, the clean stage isn't privileged. --- lang/python27/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/python27/Makefile') diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 25c2366804a..0d8ee1f878e 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2013/02/06 23:22:38 jperkin Exp $ +# $NetBSD: Makefile,v 1.22 2013/02/08 12:23:24 wiz Exp $ .include "dist.mk" @@ -54,7 +54,9 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.${OPSYS} PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end .if ${OPSYS} == "NetBSD" +.if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) PRIVILEGED_STAGES+= clean +.endif # XXX work around a botched autoconf check which ignores libintl CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes .endif -- cgit v1.2.3