Annotation of pkgsrc/sysutils/coreutils/Makefile.common, revision 1.8
1.8 ! rodent 1: # $NetBSD: Makefile.common,v 1.7 2014/02/02 07:08:24 richard Exp $
1.1 tnn 2: # used by sysutils/coreutils/Makefile
3: # used by misc/gnuls/Makefile
4:
1.7 richard 5: DISTNAME= coreutils-8.22
1.1 tnn 6: CATEGORIES= sysutils
7: MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
1.7 richard 8: EXTRACT_SUFX= .tar.xz
1.1 tnn 9:
10: MAINTAINER= pkgsrc-users@NetBSD.org
11: HOMEPAGE= http://www.gnu.org/software/coreutils/
12: COMMENT= GNU basic file, shell and text manipulation utilities
1.3 jmmv 13: LICENSE= gnu-gpl-v3
1.1 tnn 14:
15: NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-*
16:
17: PATCHDIR= ${.CURDIR}/../../sysutils/coreutils/patches
18: DISTINFO_FILE= ${.CURDIR}/../../sysutils/coreutils/distinfo
19:
20: GNU_CONFIGURE= YES
21: USE_TOOLS+= msgfmt msgmerge perl xgettext
22: USE_PKGLOCALEDIR= YES
23:
24: TEST_TARGET= check
25:
26: .include "../../mk/bsd.prefs.mk"
27:
28: .if ${OPSYS} == "Interix"
29: CONFIGURE_ENV+= ac_list_mounted_fs=found
30: .endif
31:
1.5 marino 32: .if ${OPSYS} == "DragonFly"
33: CONFIGURE_ENV+= gl_cv_search_pthread_join=-lpthread
34: .endif
35:
1.8 ! rodent 36: .if ${OPSYS} == "Linux"
! 37: CONFIGURE_ENV+= FORCE_UNSAFE_CONFIGURE=1
! 38: .endif
! 39:
1.1 tnn 40: .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
1.4 cheusov 41: CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
1.1 tnn 42: .endif
43:
44: # XXX - this hack is bound to cause fallout on some platform at some point.
45: # How can we determine the API version of the builtin gettext?
46: .if ${OPSYS} != "Linux"
47: CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
48: .endif
49: CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
50:
1.4 cheusov 51: CONFIGURE_ARGS+= --program-prefix=g
1.1 tnn 52:
53: #CONFIGURE_ARGS+= --enable-install-program=su
54: #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
55: # ${OPSYS} == "OpenBSD"
56: #MAKE_FLAGS+= setuid_root_mode=a=rx
57: #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
58: #MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
59: #.endif
CVSweb <webmaster@jp.NetBSD.org>