From 2ea0c1a37daa43f104b52cfde6e46c091d4503cf Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 13 Sep 2002 22:48:27 +0000 Subject: Make sure that there's a definition for the GS_RESOURCEDIR. --- print/ghostscript-gnu/Makefile.common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'print/ghostscript-gnu') 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 -- cgit v1.2.3