Annotation of pkgsrc/sysutils/coreutils/Makefile.common, revision 1.9
1.9 ! jperkin 1: # $NetBSD: Makefile.common,v 1.8 2014/12/12 00:28:10 rodent 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.9 ! jperkin 40: # Explicitly disable inotify support whilst it is Linux-specific.
! 41: .if ${OPSYS} == "SunOS"
! 42: CONFIGURE_ENV+= ac_cv_func_inotify_init=no
! 43: .endif
! 44:
1.1 tnn 45: .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
1.4 cheusov 46: CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
1.1 tnn 47: .endif
48:
49: # XXX - this hack is bound to cause fallout on some platform at some point.
50: # How can we determine the API version of the builtin gettext?
51: .if ${OPSYS} != "Linux"
52: CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
53: .endif
54: CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
55:
1.4 cheusov 56: CONFIGURE_ARGS+= --program-prefix=g
1.1 tnn 57:
58: #CONFIGURE_ARGS+= --enable-install-program=su
59: #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
60: # ${OPSYS} == "OpenBSD"
61: #MAKE_FLAGS+= setuid_root_mode=a=rx
62: #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
63: #MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
64: #.endif
CVSweb <webmaster@jp.NetBSD.org>