pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Allow GNU coreuitls to be built as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9a41045e879
branches:  trunk
changeset: 650081:a9a41045e879
user:      manu <manu%pkgsrc.org@localhost>
date:      Fri Apr 17 12:46:00 2015 +0000

description:
Allow GNU coreuitls to be built as root

GNU coreutils's configure script will abort if ran as root. Although
pkgsrc can do that step under an unprivilegied user, there are still
situations, such as pkg_comp bulk builds, where the common usage is
to run as root. We therefore override configure's root check by setting
FORCE_UNSAFE_CONFIGURE in the environement.

diffstat:

 sysutils/coreutils/Makefile.common |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r fd345f2d06f4 -r a9a41045e879 sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Fri Apr 17 09:13:16 2015 +0000
+++ b/sysutils/coreutils/Makefile.common        Fri Apr 17 12:46:00 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2015/01/29 21:58:34 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.10 2015/04/17 12:46:00 manu Exp $
 # used by sysutils/coreutils/Makefile
 # used by misc/gnuls/Makefile
 
@@ -25,6 +25,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# Otherwise configure aborts when ran by root
+CONFIGURE_ENV+=                FORCE_UNSAFE_CONFIGURE=yes
+
 .if ${OPSYS} == "Interix"
 CONFIGURE_ENV+=                ac_list_mounted_fs=found
 .endif



Home | Main Index | Thread Index | Old Index