pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] fonts/adobe-cidfonts and fonts/ghostscrit-cidfonts



If I understand correctly, the recent (not most but at least
pkgsrc wise recent), ghostscript does not look for the path
   ${PREFIX}/share/ghostscript/Resource
but looks for
   ${PREFIX}/share/ghostscript/8.71/Resource

So, I think the patch may be required.  
Am I correct ?

Index: fonts/ghostscript-cidfonts/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/fonts/ghostscript-cidfonts/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- fonts/ghostscript-cidfonts/Makefile 9 Apr 2009 00:48:08 -0000       1.15
+++ fonts/ghostscript-cidfonts/Makefile 21 Jan 2011 12:46:45 -0000
@@ -16,7 +16,8 @@
 GHOSTSCRIPT_REQD=      6.53
 
 ADOBE_RESOURCEDIR=     ${PREFIX}/share/Adobe/Resource
-GS_RESOURCEDIR=                ${PREFIX}/share/ghostscript/Resource
+GS_VERSION=            `gs --version`
+GS_RESOURCEDIR=                
${PREFIX}/share/ghostscript/${GS_VERSION}/Resource
 
 NO_CONFIGURE=          yes
 NO_BUILD=              yes
@@ -30,4 +31,5 @@
 
 do-install:    # nothing
 
+.include "../../print/ghostscript/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index