| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.7 2014/02/02 07:08:24 richard Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.8 2014/12/12 00:28:10 rodent Exp $ |
2 | # used by sysutils/coreutils/Makefile | | 2 | # used by sysutils/coreutils/Makefile |
3 | # used by misc/gnuls/Makefile | | 3 | # used by misc/gnuls/Makefile |
4 | | | 4 | |
5 | DISTNAME= coreutils-8.22 | | 5 | DISTNAME= coreutils-8.22 |
6 | CATEGORIES= sysutils | | 6 | CATEGORIES= sysutils |
7 | MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.gnu.org/software/coreutils/ | | 11 | HOMEPAGE= http://www.gnu.org/software/coreutils/ |
12 | COMMENT= GNU basic file, shell and text manipulation utilities | | 12 | COMMENT= GNU basic file, shell and text manipulation utilities |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
| @@ -23,26 +23,30 @@ USE_PKGLOCALEDIR= YES | | | @@ -23,26 +23,30 @@ USE_PKGLOCALEDIR= YES |
23 | | | 23 | |
24 | TEST_TARGET= check | | 24 | TEST_TARGET= check |
25 | | | 25 | |
26 | .include "../../mk/bsd.prefs.mk" | | 26 | .include "../../mk/bsd.prefs.mk" |
27 | | | 27 | |
28 | .if ${OPSYS} == "Interix" | | 28 | .if ${OPSYS} == "Interix" |
29 | CONFIGURE_ENV+= ac_list_mounted_fs=found | | 29 | CONFIGURE_ENV+= ac_list_mounted_fs=found |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | .if ${OPSYS} == "DragonFly" | | 32 | .if ${OPSYS} == "DragonFly" |
33 | CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread | | 33 | CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread |
34 | .endif | | 34 | .endif |
35 | | | 35 | |
| | | 36 | .if ${OPSYS} == "Linux" |
| | | 37 | CONFIGURE_ENV+= FORCE_UNSAFE_CONFIGURE=1 |
| | | 38 | .endif |
| | | 39 | |
36 | .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) | | 40 | .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*) |
37 | CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes | | 41 | CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes |
38 | .endif | | 42 | .endif |
39 | | | 43 | |
40 | # XXX - this hack is bound to cause fallout on some platform at some point. | | 44 | # XXX - this hack is bound to cause fallout on some platform at some point. |
41 | # How can we determine the API version of the builtin gettext? | | 45 | # How can we determine the API version of the builtin gettext? |
42 | .if ${OPSYS} != "Linux" | | 46 | .if ${OPSYS} != "Linux" |
43 | CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes | | 47 | CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes |
44 | .endif | | 48 | .endif |
45 | CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} | | 49 | CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} |
46 | | | 50 | |
47 | CONFIGURE_ARGS+= --program-prefix=g | | 51 | CONFIGURE_ARGS+= --program-prefix=g |
48 | | | 52 | |