summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2014-01-01 19:47:30 +0000
committerchristos <christos@pkgsrc.org>2014-01-01 19:47:30 +0000
commitd238903750d64a13428a94b7ae4f0f44134134d6 (patch)
treeae1a3ebe90467c9c31d10f6b71158148ba5157a4 /print
parente1ee63bdf937f1b064ecb60eaa189665d3413e2d (diff)
downloadpkgsrc-d238903750d64a13428a94b7ae4f0f44134134d6.tar.gz
check the proper options variable
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 4df41cc309b..9581553c584 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2013/06/04 22:16:58 tron Exp $
+# $NetBSD: Makefile,v 1.102 2014/01/01 19:47:30 christos Exp $
#
# XXX The version number is the last one before the agpl change.
@@ -19,9 +19,9 @@ PKG_SUGGESTED_OPTIONS+= ghostscript-gpl
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mghostscript-agpl)
+.if !empty(PKG_OPTIONS_VAR:Mghostscript-agpl)
DEPENDS+= ghostscript-agpl-[0-9]*:../../print/ghostscript-agpl
-.elif !empty(PKG_OPTIONS:Mghostscript-gpl)
+.elif !empty(PKG_OPTIONS_VAR:Mghostscript-gpl)
DEPENDS+= ghostscript-gpl-[0-9]*:../../print/ghostscript-gpl
.endif