diff options
author | rodent <rodent@pkgsrc.org> | 2014-12-12 00:28:10 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-12-12 00:28:10 +0000 |
commit | 0b001eed95a191f744c9b50f45144ab20a06c88f (patch) | |
tree | 1f9e0e817f96495e7566ffe57226a860f5c83553 /sysutils/coreutils | |
parent | 9268d5f962db9a4a68f26e4e3e114b7578f9d108 (diff) | |
download | pkgsrc-0b001eed95a191f744c9b50f45144ab20a06c88f.tar.gz |
Fix build on CentOS 7 when building as root. *gasp*
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r-- | sysutils/coreutils/Makefile.common | 6 |
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 |