diff options
author | jlam <jlam> | 2002-09-13 22:48:27 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-13 22:48:27 +0000 |
commit | b5fc97fa472c2f80531d07b140514c5f49337c87 (patch) | |
tree | 45f9b77989a0383570ddcad109eb189b846b1803 /print | |
parent | bef96144ff7023398453336ae1301a7297826d27 (diff) | |
download | pkgsrc-b5fc97fa472c2f80531d07b140514c5f49337c87.tar.gz |
Make sure that there's a definition for the GS_RESOURCEDIR.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-gnu/Makefile.common | 5 |
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 |