From 5fab46e4aa44933fd4906795a5b4153d33b33bd3 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 17 Jun 2003 17:40:38 +0000 Subject: Conflict with "coreutils" package if "GNU_PROGRAM_PREFIX" is "". --- print/teTeX2-bin/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'print/teTeX2-bin') diff --git a/print/teTeX2-bin/Makefile b/print/teTeX2-bin/Makefile index ec5a3ec9e6b..ceae13e0762 100644 --- a/print/teTeX2-bin/Makefile +++ b/print/teTeX2-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/04/11 21:35:48 jschauma Exp $ +# $NetBSD: Makefile,v 1.5 2003/06/17 17:40:38 tron Exp $ DISTNAME= tetex-src-${TETEX_BIN_VERS} PKGNAME= teTeX2-bin-${TETEX_BIN_VERS} @@ -18,6 +18,13 @@ CONFLICTS+= omega-[0-9]* INFO_FILES= latex.info dvips.info web2c.info kpathsea.info +.include "../../mk/bsd.prefs.mk" +# sysutils/coreutils installs a 'readlink' program, so conflict with it if +# GNU_PROGRAM_PREFIX == '' +.if ${GNU_PROGRAM_PREFIX} == "" +CONFLICTS+= coreutils-[0-9]* +.endif + post-install: @${RM} ${PREFIX}/share/texmf/web2c/*.log .if defined(PAPERSIZE) -- cgit v1.2.3