summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent>2014-12-12 00:28:10 +0000
committerrodent <rodent>2014-12-12 00:28:10 +0000
commited9ea3dc5b720ff4120c624a12f00d7ee0663406 (patch)
tree1f9e0e817f96495e7566ffe57226a860f5c83553
parent5575261d7540465dec0466404ad4576bf7115f8d (diff)
downloadpkgsrc-ed9ea3dc5b720ff4120c624a12f00d7ee0663406.tar.gz
Fix build on CentOS 7 when building as root. *gasp*
-rw-r--r--sysutils/coreutils/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/coreutils/Makefile.common b/sysutils/coreutils/Makefile.common
index 63d72f8b010..13936390c9b 100644
--- a/sysutils/coreutils/Makefile.common
+++ b/sysutils/coreutils/Makefile.common
@@ -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+= ac_list_mounted_fs=found
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