pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2015Q1]: pkgsrc/sysutils/coreutils Pullup ticket #4700 - reque...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5bac76056cb
branches:  pkgsrc-2015Q1
changeset: 649203:b5bac76056cb
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Apr 29 09:24:59 2015 +0000

description:
Pullup ticket #4700 - requested by manu
sysutils/coreutils: build fix

Revisions pulled up:
- sysutils/coreutils/Makefile.common                            1.10

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   manu
   Date:           Fri Apr 17 12:46:00 UTC 2015

   Modified Files:
           pkgsrc/sysutils/coreutils: Makefile.common

   Log Message:
   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.


   To generate a diff of this commit:
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/coreutils/Makefile.common

diffstat:

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

diffs (19 lines):

diff -r c31704e71858 -r b5bac76056cb sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Mon Apr 27 22:02:58 2015 +0000
+++ b/sysutils/coreutils/Makefile.common        Wed Apr 29 09:24:59 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.9.2.1 2015/04/29 09:24:59 spz 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