2009-12-20 17:12:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.50 2009/12/20 16:12:06 tonnerre Exp $
|
2003-04-10 15:18:36 +02:00
|
|
|
|
2008-05-15 22:01:03 +02:00
|
|
|
.include "../../sysutils/coreutils/Makefile.common"
|
2005-08-28 11:07:21 +02:00
|
|
|
|
2009-12-20 17:12:06 +01:00
|
|
|
PKGREVISION= 3
|
2009-05-18 01:11:21 +02:00
|
|
|
|
2009-08-12 15:36:06 +02:00
|
|
|
CONFLICTS= fileutils-[0-9]* gnuls-[0-9]* linuxls-[0-9]* sh-utils-[0-9]* textutils-[0-9]*
|
2003-04-10 15:18:36 +02:00
|
|
|
|
2004-03-07 12:31:34 +01:00
|
|
|
# if GNU_PROGRAM_PREFIX == 'g'
|
|
|
|
# devel/id-utils installs a 'gid' program, so conflict with it
|
|
|
|
# databases/geneweb a 'gwc' program, so conflict with it
|
|
|
|
# graphics/graphviz installs a 'gpr' program, so conflict with it
|
2003-06-17 19:36:59 +02:00
|
|
|
.if ${GNU_PROGRAM_PREFIX} == "g"
|
2003-04-11 13:36:03 +02:00
|
|
|
CONFLICTS+= id-utils-[0-9]* gnome-utils<1.4.1.2nb2
|
2004-02-22 22:44:33 +01:00
|
|
|
CONFLICTS+= geneweb-[0-9]*
|
2006-03-12 13:36:01 +01:00
|
|
|
CONFLICTS+= graphviz<1.12
|
2003-06-17 19:36:59 +02:00
|
|
|
.endif
|
2006-08-14 10:39:51 +02:00
|
|
|
# print/teTeX-bin installed a 'readlink' program, so
|
2005-04-02 22:38:45 +02:00
|
|
|
# conflict with it if GNU_PROGRAM_PREFIX == '' (no problem in teTeX3-bin)
|
2008-05-15 22:01:03 +02:00
|
|
|
.if empty(GNU_PROGRAM_PREFIX)
|
2005-04-02 22:38:45 +02:00
|
|
|
CONFLICTS+= teTeX-bin<3
|
2008-03-08 02:09:50 +01:00
|
|
|
CONFLICTS+= mktemp-[0-9]*
|
2003-04-10 15:18:36 +02:00
|
|
|
.endif
|
2004-02-24 15:11:36 +01:00
|
|
|
|
2008-05-15 22:01:03 +02:00
|
|
|
INFO_FILES= yes
|
|
|
|
|
|
|
|
# Exclude programs from PLIST which aren't built on a platform.
|
|
|
|
PLIST_VARS+= hostid
|
|
|
|
.if ${OPSYS} != "Interix"
|
|
|
|
PLIST.hostid= yes
|
|
|
|
.endif
|
2003-04-10 15:18:36 +02:00
|
|
|
|
2008-03-08 02:06:52 +01:00
|
|
|
#CONFIGURE_ARGS+= --enable-install-program=su
|
|
|
|
#.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || \
|
|
|
|
# ${OPSYS} == "OpenBSD"
|
2008-05-15 22:01:03 +02:00
|
|
|
#MAKE_FLAGS+= setuid_root_mode=a=rx
|
|
|
|
#MESSAGE_SRC= ${.CURDIR}/MESSAGE.gsu
|
2008-03-08 02:06:52 +01:00
|
|
|
#MESSAGE_SUBST+= OPSYS=${OPSYS:Q}
|
|
|
|
#.endif
|
2004-01-17 01:14:14 +01:00
|
|
|
|
2004-04-25 05:33:12 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2003-04-10 15:18:36 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|