Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / coreutils / Makefile.common
blob8aff979f252c9f5678c4ec1db93aba9dc86e8ea8
1 # $NetBSD: Makefile.common,v 1.5 2012/07/20 17:59:14 marino Exp $
2 # used by sysutils/coreutils/Makefile
3 # used by misc/gnuls/Makefile
5 DISTNAME=       coreutils-8.13
6 CATEGORIES=     sysutils
7 MASTER_SITES=   ${MASTER_SITE_GNU:=coreutils/}
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 HOMEPAGE=       http://www.gnu.org/software/coreutils/
11 COMMENT=        GNU basic file, shell and text manipulation utilities
12 LICENSE=        gnu-gpl-v3
14 NOT_FOR_PLATFORM=       NetBSD-2.0[D-H]-*
16 PATCHDIR=               ${.CURDIR}/../../sysutils/coreutils/patches
17 DISTINFO_FILE=          ${.CURDIR}/../../sysutils/coreutils/distinfo
19 GNU_CONFIGURE=          YES
20 USE_TOOLS+=             msgfmt msgmerge perl xgettext
21 USE_PKGLOCALEDIR=       YES
23 TEST_TARGET=            check
25 .include "../../mk/bsd.prefs.mk"
27 .if ${OPSYS} == "Interix"
28 CONFIGURE_ENV+=         ac_list_mounted_fs=found
29 .endif
31 .if ${OPSYS} == "DragonFly"
32 CONFIGURE_ENV+=         gl_cv_search_pthread_join=-lpthread
33 .endif
35 .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
36 CONFIGURE_ENV+=         ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
37 .endif
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}
46 CONFIGURE_ARGS+=        --program-prefix=g
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