Annotation of pkgsrc/sysutils/coreutils/Makefile.common, revision 1.7
1.7 ! richard 1: # $NetBSD: Makefile.common,v 1.6 2012/10/23 19:50:56 asau 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.1 tnn 36: .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
1.4 cheusov 37: CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
1.1 tnn 38: .endif
39:
40: # 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?
42: .if ${OPSYS} != "Linux"
43: CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
44: .endif
45: CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
46:
1.4 cheusov 47: CONFIGURE_ARGS+= --program-prefix=g
1.1 tnn 48:
49: #CONFIGURE_ARGS+= --enable-install-program=su
50: #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
51: # ${OPSYS} == "OpenBSD"
52: #MAKE_FLAGS+= setuid_root_mode=a=rx
53: #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
54: #MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
55: #.endif
CVSweb <webmaster@jp.NetBSD.org>