pkgsrc/sysutils/coreutils/Makefile.common
tron 3b78baf1a5 Update "coreutils" package to version 6.12. Changes since version 6.11:
- chcon, runcon: --help output now includes the bug-reporting address
- cp -p copies permissions more portably.  For example, on MacOS X 10.5,
  "cp -p some-fifo some-file" no longer fails while trying to copy the
  permissions from the some-fifo argument.
- id with no options now prints the SELinux context only when invoked
  with no USERNAME argument.
- id and groups once again print the AFS-specific nameless group-ID (PAG).
  Printing of such large-numbered, kernel-only (not in /etc/group) group-IDs
  was suppressed in 6.11 due to ignorance that they are useful.
- uniq: avoid subtle field-skipping malfunction due to isblank misuse.
  In some locales on some systems, isblank(240) (aka &nbsp) is nonzero.
  On such systems, uniq --skip-fields=N would fail to skip the proper
  number of fields for some inputs.
- tac: avoid segfault with --regex (-r) and multiple files, e.g.,
  "echo > x; tac -r x x".
- install once again sets SELinux context, when possible
2008-10-29 22:34:18 +00:00

53 lines
1.5 KiB
Text

# $NetBSD: Makefile.common,v 1.2 2008/10/29 22:34:18 tron Exp $
# used by sysutils/coreutils/Makefile
# used by misc/gnuls/Makefile
DISTNAME= coreutils-6.12
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/coreutils/
COMMENT= GNU basic file, shell and text manipulation utilities
PKG_DESTDIR_SUPPORT= user-destdir
NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-*
PATCHDIR= ${.CURDIR}/../../sysutils/coreutils/patches
DISTINFO_FILE= ${.CURDIR}/../../sysutils/coreutils/distinfo
GNU_CONFIGURE= YES
USE_TOOLS+= msgfmt msgmerge perl xgettext
USE_PKGLOCALEDIR= YES
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Interix"
CONFIGURE_ENV+= ac_list_mounted_fs=found
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-[9].*-*)
CONFIGURE_ENV+= ac_cv_header_sys_acl_h=no jm_cv_func_svid_putenv=yes
.endif
# XXX - this hack is bound to cause fallout on some platform at some point.
# How can we determine the API version of the builtin gettext?
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
.endif
CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
#CONFIGURE_ARGS+= --enable-install-program=su
#.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
# ${OPSYS} == "OpenBSD"
#MAKE_FLAGS+= setuid_root_mode=a=rx
#MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
#MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
#.endif