summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2013-04-24 09:55:03 +0000
committersbd <sbd@pkgsrc.org>2013-04-24 09:55:03 +0000
commit0cc98fdd5717a29f19e0a57ddedc748b4ec8df75 (patch)
tree7acada25590f883d1898c7478a1c1aa977fbc3d3
parent99e8cfbea297beac5ea5014eca4aba24f67b669b (diff)
downloadpkgsrc-0cc98fdd5717a29f19e0a57ddedc748b4ec8df75.tar.gz
Use the ghostscript meta-package instead of ghostscript-gpl or
ghostscript-agpl. Reverts revisions 1.255 and 1.254 ---------------------------- revision 1.255 date: 2013/03/16 23:03:33; author: dholland; state: Exp; lines: +3 -3 print/ghostscript -> print/ghostscript-agpl ---------------------------- revision 1.254 date: 2013/03/16 21:47:14; author: dholland; state: Exp; lines: +13 -3 Choose ghostscript package for ghostscript tools based on whether gnu-agpl-* is in ACCEPTABLE_LICENSES. This is mostly the same as the old ghostscript type logic that was removed in version 1.223.
-rw-r--r--mk/tools/replace.mk16
1 files changed, 3 insertions, 13 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index e872b3ac00e..825e3992f3c 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.255 2013/03/16 23:03:33 dholland Exp $
+# $NetBSD: replace.mk,v 1.256 2013/04/24 09:55:03 sbd Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1074,18 +1074,8 @@ GHOSTSCRIPT_REQD?= 6.01
# various package options.
#
.if !defined(TOOLS_DEPENDS.ghostscript)
-_TOOLS_DEP.ghostscript:= ghostscript-gpl
-_TOOLS_DEP.ghostscript:= ${_TOOLS_DEP.ghostscript},ghostscript-agpl
-#
-# Determine the default Ghostscript package to build based on
-# ACCEPTABLE_LICENSES.
-#
-. if !empty(ACCEPTABLE_LICENSES:Mgnu-agpl-*)
-_TOOLS_PKGSRCDIR.ghostscript= ../../print/ghostscript-agpl
-. else
-_TOOLS_PKGSRCDIR.ghostscript= ../../print/ghostscript-gpl
-. endif
-TOOLS_DEPENDS.ghostscript= {${_TOOLS_DEP.ghostscript}}>=${GHOSTSCRIPT_REQD}:${_TOOLS_PKGSRCDIR.ghostscript}
+_TOOLS_DEP.ghostscript:= ghostscript
+TOOLS_DEPENDS.ghostscript= ghostscript>=${GHOSTSCRIPT_REQD}:../../print/ghostscript
MAKEVARS+= TOOLS_DEPENDS.ghostscript
.endif