diff options
-rw-r--r-- | lang/python20/Makefile | 6 | ||||
-rw-r--r-- | lang/python22/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile index 615421a7ece..6e5c23e1847 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2007/03/01 18:33:54 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2007/07/01 00:17:01 adrianp Exp $ # DISTNAME= Python-2.0.1 @@ -40,6 +40,10 @@ FIX_RPATH+= SSLFLAGS .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" +PRIVILEGED_STAGE+= clean +.endif + .if ${OPSYS} == "SunOS" ZOULARIS?= ${PREFIX}/bsd MODADD= -I${ZOULARIS}/include -L${ZOULARIS}/lib ${COMPILER_RPATH_FLAG}${ZOULARIS}/lib diff --git a/lang/python22/Makefile b/lang/python22/Makefile index bfefa69d44f..95cd2499d6d 100644 --- a/lang/python22/Makefile +++ b/lang/python22/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2007/02/22 19:26:39 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2007/07/01 00:21:53 adrianp Exp $ # DISTNAME= Python-2.2.3 @@ -33,6 +33,10 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python22/PLIST.${OPSYS} .endif PLIST_SRC+= ${.CURDIR}/../../lang/python22/PLIST.common_end +.if ${OPSYS} == "NetBSD" +PRIVILEGED_STAGE+= clean +.endif + .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS:Q} .elif ${OPSYS} == "IRIX" |