summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-13 22:48:27 +0000
committerjlam <jlam>2002-09-13 22:48:27 +0000
commit366db2112265b1bb78a45569fab15fc594c5ea52 (patch)
tree45f9b77989a0383570ddcad109eb189b846b1803 /print
parent5ca9c745ccf3c63625f3d8129f8b1437ae043fd8 (diff)
downloadpkgsrc-366db2112265b1bb78a45569fab15fc594c5ea52.tar.gz
Make sure that there's a definition for the GS_RESOURCEDIR.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-gnu/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common
index 3ba85ef0706..3fd69d143c7 100644
--- a/print/ghostscript-gnu/Makefile.common
+++ b/print/ghostscript-gnu/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2002/09/13 22:27:11 jlam Exp $
+# $NetBSD: Makefile.common,v 1.4 2002/09/13 22:48:27 jlam Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 7.05
@@ -55,6 +55,7 @@ LDFLAGS+= -L${ZOULARISBASE}/lib -Wl,-R${ZOULARISBASE}/lib
REPLACE_PERL= lib/fixmswrd.pl
+GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource
GSDATADIR= ${PREFIX}/share/ghostscript/${GS_VERS}
DOCDIR= ${PREFIX}/share/doc/ghostscript
HTMLDIR= ${PREFIX}/share/doc/html/ghostscript
@@ -68,7 +69,7 @@ post-extract:
${RM} -f ${WRKSRC}/jpeg
${LN} -s ${JPEG_WRKSRC} ${WRKSRC}/jpeg
cd ${WRKSRC}/lib; for file in gs_res.ps; do \
- ${SED} -e "s|/Resource/|${RESOURCEDIR}/|g" \
+ ${SED} -e "s|/Resource/|${GS_RESOURCEDIR}/|g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done