diff options
author | richard <richard@pkgsrc.org> | 2014-02-21 18:09:02 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-02-21 18:09:02 +0000 |
commit | 6f83413cc10214dd4df2153d188f5d31bfbad817 (patch) | |
tree | a2919e86cf8a74106ae5858e63c7f107c8cc2ef2 | |
parent | 7a030fdd2fda9fe483a030d0faf0813afac604a2 (diff) | |
download | pkgsrc-6f83413cc10214dd4df2153d188f5d31bfbad817.tar.gz |
add utf8 [default] option to ghostscript-gpl
-rw-r--r-- | print/ghostscript-gpl/Makefile | 4 | ||||
-rw-r--r-- | print/ghostscript-gpl/options.mk | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 7d21f30f8f0..635cd1f5725 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2014/02/12 23:18:29 tron Exp $ +# $NetBSD: Makefile,v 1.9 2014/02/21 18:09:02 richard Exp $ DISTNAME= ghostscript-${GS_VERSION} PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/} -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} MASTER_SITES+= http://ghostscript.com/releases/ diff --git a/print/ghostscript-gpl/options.mk b/print/ghostscript-gpl/options.mk index f31b8a6de35..02e46ad7bc3 100644 --- a/print/ghostscript-gpl/options.mk +++ b/print/ghostscript-gpl/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1 2013/03/16 21:32:00 dholland Exp $ +# $NetBSD: options.mk,v 1.2 2014/02/21 18:09:02 richard Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript -PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits -PKG_SUGGESTED_OPTIONS= x11 fontconfig +PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits utf8 +PKG_SUGGESTED_OPTIONS= x11 fontconfig utf8 .include "../../mk/bsd.options.mk" @@ -60,3 +60,10 @@ PLIST.no_cidfmap= YES .else PLIST.cidfmap= YES .endif + +.if !empty(PKG_OPTIONS:Mutf8) +.include "../../converters/libiconv/buildlink3.mk" +CONFIGURE_ARGS+= --with-libiconv=${ICONV_TYPE} +.else +CONFIGURE_ARGS+= --with-libiconv=no +.endif |