pkgsrc-Users archive

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

Adding more PRIVILEGED_STAGES entries



Hi,

at least two packages needs a PRIVILEGED_STAGES entry in there Makefile so they
can be build unprivileged:

- devel/doxygen/Makefile

===> Cleaning for doxygen-1.5.1nb1
rm: 
/pkgsrc/devel/doxygen/work.i386/doxygen-1.5.1/examples/class/html/doxygen.png: 
Permission denied
rm: 
/pkgsrc/devel/doxygen/work.i386/doxygen-1.5.1/examples/class/html/tab_b.gif: 
Permission denied
rm: 
/pkgsrc/devel/doxygen/work.i386/doxygen-1.5.1/examples/class/html/tab_l.gif: 
Permission denied
rm: 
/pkgsrc/devel/doxygen/work.i386/doxygen-1.5.1/examples/class/html/tab_r.gif: 
Permission denied
[..]
rm: /pkgsrc/devel/doxygen/work.i386: Directory not empty
*** Error code 1

- mail/thunderbird/Makefile-thunderbird.common

===> Cleaning for thunderbird-2.0.0.6
rm: /pkgsrc/mail/thunderbird/work.i386/mozilla/.mozilla: Permission denied
rm: /pkgsrc/mail/thunderbird/work.i386/mozilla: Directory not empty
rm: /pkgsrc/mail/thunderbird/work.i386: Directory not empty
*** Error code 1

Yes, the output are from older versions, because I added the PRIVILEGED_STAGES
lines a few weeks ago to my source tree and the above output is from an build 
before
I did that.

I would like to commit that if there are no objections.

Regards,
Bernd

Index: Makefile
===================================================================
RCS file: /NetBSD-cvs/main/pkgsrc/devel/doxygen/Makefile,v
retrieving revision 1.56
diff -b -u -r1.56 Makefile
--- Makefile    20 Jan 2007 14:26:58 -0000      1.56
+++ Makefile    10 Aug 2007 09:26:27 -0000
@@ -31,6 +31,8 @@
 PLIST_SUBST+=  CASESENSITIVE="" CASEINSENSITIVE="@comment "
 .endif
 
+PRIVILEGED_STAGES+=     clean
+
 SUBST_CLASSES+=                pybin
 SUBST_STAGE.pybin=     pre-configure
 SUBST_FILES.pybin=     doc/Makefile.in
Index: Makefile-thunderbird.common
===================================================================
RCS file: /NetBSD-cvs/main/pkgsrc/mail/thunderbird/Makefile-thunderbird.common,v
retrieving revision 1.28
diff -b -u -r1.28 Makefile-thunderbird.common
--- Makefile-thunderbird.common 2 Aug 2007 08:48:29 -0000       1.28
+++ Makefile-thunderbird.common 10 Aug 2007 16:58:40 -0000
@@ -16,6 +16,8 @@
 DISTINFO_FILE=         ${.CURDIR}/../../mail/thunderbird/distinfo
 PATCHDIR=              ${.CURDIR}/../../mail/thunderbird/patches
 
+PRIVILEGED_STAGES+=    clean
+
 CONFIGURE_ARGS+=       --enable-application=mail
 CONFIGURE_ARGS+=       --enable-single-profile
 CONFIGURE_ARGS+=       --enable-debug=-g


Home | Main Index | Thread Index | Old Index