| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.43 2008/03/08 01:06:52 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.44 2008/03/08 01:09:50 tnn Exp $ |
2 | | | 2 | |
3 | DISTNAME= coreutils-6.10 | | 3 | DISTNAME= coreutils-6.10 |
4 | CATEGORIES= sysutils | | 4 | CATEGORIES= sysutils |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} | | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=coreutils/} |
6 | #EXTRACT_SUFX= .tar.bz2 | | 6 | #EXTRACT_SUFX= .tar.bz2 |
7 | | | 7 | |
8 | MAINTAINER= tech-pkg@NetBSD.org | | 8 | MAINTAINER= tech-pkg@NetBSD.org |
9 | HOMEPAGE= http://www.gnu.org/software/coreutils/ | | 9 | HOMEPAGE= http://www.gnu.org/software/coreutils/ |
10 | COMMENT= GNU basic file, shell and text manipulation utilities | | 10 | COMMENT= GNU basic file, shell and text manipulation utilities |
11 | | | 11 | |
12 | PKG_DESTDIR_SUPPORT= user-destdir | | 12 | PKG_DESTDIR_SUPPORT= user-destdir |
13 | NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-* | | 13 | NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-* |
14 | | | 14 | |
15 | CONFLICTS= fileutils-[0-9]* linuxls-[0-9]* sh-utils-[0-9]* textutils-[0-9]* mktemp-[0-9]* | | 15 | CONFLICTS= fileutils-[0-9]* linuxls-[0-9]* sh-utils-[0-9]* textutils-[0-9]* |
16 | | | 16 | |
17 | CFLAGS+= -g | | 17 | CFLAGS+= -g |
18 | LDFLAGS+= -g | | 18 | LDFLAGS+= -g |
19 | GNU_CONFIGURE= YES | | 19 | GNU_CONFIGURE= YES |
20 | USE_TOOLS+= msgfmt msgmerge perl xgettext | | 20 | USE_TOOLS+= msgfmt msgmerge perl xgettext |
21 | USE_PKGLOCALEDIR= YES | | 21 | USE_PKGLOCALEDIR= YES |
22 | | | 22 | |
23 | INFO_FILES= # PLIST | | 23 | INFO_FILES= # PLIST |
24 | | | 24 | |
25 | TEST_TARGET= check | | 25 | TEST_TARGET= check |
26 | | | 26 | |
27 | .include "../../mk/bsd.prefs.mk" | | 27 | .include "../../mk/bsd.prefs.mk" |
28 | | | 28 | |
| @@ -52,26 +52,27 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_ | | | @@ -52,26 +52,27 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_ |
52 | # if GNU_PROGRAM_PREFIX == 'g' | | 52 | # if GNU_PROGRAM_PREFIX == 'g' |
53 | # devel/id-utils installs a 'gid' program, so conflict with it | | 53 | # devel/id-utils installs a 'gid' program, so conflict with it |
54 | # databases/geneweb a 'gwc' program, so conflict with it | | 54 | # databases/geneweb a 'gwc' program, so conflict with it |
55 | # graphics/graphviz installs a 'gpr' program, so conflict with it | | 55 | # graphics/graphviz installs a 'gpr' program, so conflict with it |
56 | .if ${GNU_PROGRAM_PREFIX} == "g" | | 56 | .if ${GNU_PROGRAM_PREFIX} == "g" |
57 | CONFLICTS+= id-utils-[0-9]* gnome-utils<1.4.1.2nb2 | | 57 | CONFLICTS+= id-utils-[0-9]* gnome-utils<1.4.1.2nb2 |
58 | CONFLICTS+= geneweb-[0-9]* | | 58 | CONFLICTS+= geneweb-[0-9]* |
59 | CONFLICTS+= graphviz<1.12 | | 59 | CONFLICTS+= graphviz<1.12 |
60 | .endif | | 60 | .endif |
61 | # print/teTeX-bin installed a 'readlink' program, so | | 61 | # print/teTeX-bin installed a 'readlink' program, so |
62 | # conflict with it if GNU_PROGRAM_PREFIX == '' (no problem in teTeX3-bin) | | 62 | # conflict with it if GNU_PROGRAM_PREFIX == '' (no problem in teTeX3-bin) |
63 | .if ${GNU_PROGRAM_PREFIX} == "" | | 63 | .if ${GNU_PROGRAM_PREFIX} == "" |
64 | CONFLICTS+= teTeX-bin<3 | | 64 | CONFLICTS+= teTeX-bin<3 |
| | | 65 | CONFLICTS+= mktemp-[0-9]* |
65 | .endif | | 66 | .endif |
66 | | | 67 | |
67 | PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} | | 68 | PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} |
68 | BUILD_DEFS+= GNU_PROGRAM_PREFIX | | 69 | BUILD_DEFS+= GNU_PROGRAM_PREFIX |
69 | | | 70 | |
70 | #CONFIGURE_ARGS+= --enable-install-program=su | | 71 | #CONFIGURE_ARGS+= --enable-install-program=su |
71 | #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \ | | 72 | #.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \ |
72 | # ${OPSYS} == "OpenBSD" | | 73 | # ${OPSYS} == "OpenBSD" |
73 | #MAKE_FLAGS+= setuid_root_mode=a=rx | | 74 | #MAKE_FLAGS+= setuid_root_mode=a=rx |
74 | #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu | | 75 | #MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu |
75 | #MESSAGE_SUBST+= OPSYS=${OPSYS:Q} | | 76 | #MESSAGE_SUBST+= OPSYS=${OPSYS:Q} |
76 | #.endif | | 77 | #.endif |
77 | | | 78 | |