pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Always look for plain ghostscript and always ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32266269ab06
branches:  trunk
changeset: 569888:32266269ab06
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jan 20 14:47:30 2010 +0000

description:
Always look for plain ghostscript and always look in print/ghostscript.

diffstat:

 mk/tools/replace.mk |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (30 lines):

diff -r c1e8881ba7a4 -r 32266269ab06 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Wed Jan 20 14:46:17 2010 +0000
+++ b/mk/tools/replace.mk       Wed Jan 20 14:47:30 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.222 2009/11/21 14:50:28 joerg Exp $
+# $NetBSD: replace.mk,v 1.223 2010/01/20 14:47:30 joerg Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1026,19 +1026,7 @@
 #
 .if !defined(TOOLS_DEPENDS.ghostscript)
 _TOOLS_DEP.ghostscript:=       ghostscript
-_TOOLS_DEP.ghostscript:=       ${_TOOLS_DEP.ghostscript},ghostscript-afpl
-_TOOLS_DEP.ghostscript:=       ${_TOOLS_DEP.ghostscript},ghostscript-esp
-_TOOLS_DEP.ghostscript:=       ${_TOOLS_DEP.ghostscript},ghostscript-gnu
-#
-# Determine the default Ghostscript package to build based on the
-# PKG_OPTIONS for the current package.
-#
-.  if (defined(PKG_OPTIONS) && !empty(PKG_OPTIONS:Mcups))
-_TOOLS_PKGSRCDIR.ghostscript=  ../../print/ghostscript-esp
-.  else
-_TOOLS_PKGSRCDIR.ghostscript=  ../../print/ghostscript
-.  endif
-TOOLS_DEPENDS.ghostscript=     {${_TOOLS_DEP.ghostscript}}>=${GHOSTSCRIPT_REQD}:${_TOOLS_PKGSRCDIR.ghostscript}
+TOOLS_DEPENDS.ghostscript=     ghostscript>=${GHOSTSCRIPT_REQD}:../../print/ghostscript
 MAKEVARS+=                     ${TOOLS_DEPENDS.ghostscript}
 .endif
 



Home | Main Index | Thread Index | Old Index