summaryrefslogtreecommitdiff
path: root/print/ghostscript
diff options
context:
space:
mode:
authorchristos <christos>2014-01-01 19:47:30 +0000
committerchristos <christos>2014-01-01 19:47:30 +0000
commit4c69d6d0fb8aa98de8342ae3bd20204c1a740e20 (patch)
treeae1a3ebe90467c9c31d10f6b71158148ba5157a4 /print/ghostscript
parent97932321344531580b0446e5721ea53a081075f4 (diff)
downloadpkgsrc-4c69d6d0fb8aa98de8342ae3bd20204c1a740e20.tar.gz
check the proper options variable
Diffstat (limited to 'print/ghostscript')
-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