PKG_OPTIONS_VAR= for ghostscript-gpl and ghostscript-agpl are both PKG_OPTIONS.ghostscript.

-.if empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mdisable-compile-inits)
  +.if empty(PKG_BUILD_OPTIONS.ghostscript:Mdisable-compile-inits)
This commit is contained in:
mef 2013-04-02 17:32:36 +00:00
parent cdbd4aecc1
commit fc52f3d332

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2013/03/17 08:42:55 obache Exp $
# $NetBSD: Makefile,v 1.7 2013/04/02 17:32:36 mef Exp $
DISTNAME= ghostscript-cidfonts-ryumin-${GS_VERSION}
DISTFILES= # empty
@ -56,7 +56,7 @@ NO_CONFIGURE= yes
.include "../../print/ghostscript-gpl/buildlink3.mk"
.if empty(PKG_BUILD_OPTIONS.ghostscript-gpl:Mdisable-compile-inits)
.if empty(PKG_BUILD_OPTIONS.ghostscript:Mdisable-compile-inits)
PKG_FAIL_REASON+= 'You need to set PKG_OPTIONS.ghostscript+= disable-compile-inits, at its compile time.'
.endif