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