Annotation of pkgsrc/sysutils/coreutils/Makefile.common, revision 1.1
1.1 ! tnn 1: # $NetBSD: Makefile,v 1.46 2008/05/13 09:22:46 tron Exp $
! 2: # used by sysutils/coreutils/Makefile
! 3: # used by misc/gnuls/Makefile
! 4:
! 5: DISTNAME= coreutils-6.11
! 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
! 12:
! 13: PKG_DESTDIR_SUPPORT= user-destdir
! 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:
! 31: .if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
! 32: CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
! 33: .endif
! 34:
! 35: # XXX - this hack is bound to cause fallout on some platform at some point.
! 36: # How can we determine the API version of the builtin gettext?
! 37: .if ${OPSYS} != "Linux"
! 38: CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
! 39: .endif
! 40: CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
! 41:
! 42: CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
! 43:
! 44: PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
! 45: BUILD_DEFS+= GNU_PROGRAM_PREFIX
! 46:
! 47: #CONFIGURE_ARGS+= --enable-install-program=su
! 48: #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
! 49: # ${OPSYS} == "OpenBSD"
! 50: #MAKE_FLAGS+= setuid_root_mode=a=rx
! 51: #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
! 52: #MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
! 53: #.endif
CVSweb <webmaster@jp.NetBSD.org>