pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/coreutils Fix build on CentOS 7 when building...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4b23c34c72f
branches:  trunk
changeset: 643146:f4b23c34c72f
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Fri Dec 12 00:28:10 2014 +0000

description:
Fix build on CentOS 7 when building as root. *gasp*

diffstat:

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

diffs (20 lines):

diff -r 9b77eab95efe -r f4b23c34c72f sysutils/coreutils/Makefile.common
--- a/sysutils/coreutils/Makefile.common        Fri Dec 12 00:24:42 2014 +0000
+++ b/sysutils/coreutils/Makefile.common        Fri Dec 12 00:28:10 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2014/02/02 07:08:24 richard Exp $
+# $NetBSD: Makefile.common,v 1.8 2014/12/12 00:28:10 rodent Exp $
 # used by sysutils/coreutils/Makefile
 # used by misc/gnuls/Makefile
 
@@ -33,6 +33,10 @@
 CONFIGURE_ENV+=        gl_cv_search_pthread_join=-lpthread
 .endif
 
+.if ${OPSYS} == "Linux"
+CONFIGURE_ENV+=                FORCE_UNSAFE_CONFIGURE=1
+.endif
+
 .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
 CONFIGURE_ENV+=                ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
 .endif



Home | Main Index | Thread Index | Old Index