pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48479 ([PATCH] ghostscript-cidfonts doesn't switch correctly ghostscript-agpl and -gpl)
The following reply was made to PR pkg/48479; it has been noted by GNATS.
From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: "OBATA Akio" <obache%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/48479 ([PATCH] ghostscript-cidfonts doesn't switch correctly
ghostscript-agpl and -gpl)
Date: Mon, 13 Jan 2014 09:50:17 +0900
Thank you, obache. I am testing following patch.
Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/fonts/ghostscript-cidfonts/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile 9 Jan 2014 02:39:42 -0000 1.21
+++ Makefile 13 Jan 2014 00:47:33 -0000
@@ -10,7 +10,6 @@
COMMENT= CIDFont resources for Ghostscript
DEPENDS+= adobe-cidfonts>=20000901:../../fonts/adobe-cidfonts
-DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
GHOSTSCRIPT_REQD= 9.05
@@ -26,10 +25,16 @@
REQD_DIRS= ${GS_RESOURCEDIR} ${GS_RESOURCEDIR}/CIDFont
+.include "../../mk/bsd.prefs.mk"
+# work around for old bmake (for example, NetBSD-5.1)
http://gnats.netbsd.org/48479
+PKG_OPTIONS.gs_type?= ghostscript-agpl
+
.if !empty(PKG_OPTIONS.gs_type:Mghostscript-agpl)
. include "../../print/ghostscript-agpl/Makefile.common"
+DEPENDS+= ghostscript-agpl-[0-9]*:../../print/ghostscript-agpl
.else
. include "../../print/ghostscript-gpl/Makefile.common"
+DEPENDS+= ghostscript-gpl-[0-9]*:../../print/ghostscript-gpl
.endif
do-install: # nothing
Home |
Main Index |
Thread Index |
Old Index