summaryrefslogtreecommitdiff
path: root/print/ghostscript-nox11
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-13 23:13:27 +0000
committerjlam <jlam>2002-09-13 23:13:27 +0000
commit1ae0b7da1c59879459047c41ed2622f97148fae6 (patch)
tree427ad2d91d7b1482eaa2a8206b0e7dad0387b301 /print/ghostscript-nox11
parent4137db171287934eb21646d75d4d3a90e694fe1f (diff)
downloadpkgsrc-1ae0b7da1c59879459047c41ed2622f97148fae6.tar.gz
ghostscript-nox11 needs g++ to compile the hpijs driver. Also use egrep
instead of grep where we use extended regexps. This fixes pkg/17325 by Eric Schnoebelen <eric at cirr dot com>.
Diffstat (limited to 'print/ghostscript-nox11')
-rw-r--r--print/ghostscript-nox11/Makefile.common11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common
index 66b2345bf2d..8baf9516dfe 100644
--- a/print/ghostscript-nox11/Makefile.common
+++ b/print/ghostscript-nox11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.36 2002/09/13 05:16:46 jlam Exp $
+# $NetBSD: Makefile.common,v 1.37 2002/09/13 23:13:27 jlam Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 6.01
@@ -133,6 +133,13 @@ ALL_TARGET= std
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+. include "../../lang/gcc/Makefile.gcc"
+.endif
+.if defined(ZOULARISBASE)
+LDFLAGS+= -L${ZOULARISBASE}/lib -Wl,-R${ZOULARISBASE}/lib
+.endif
+
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
CFLAGS+= -DA4
.endif
@@ -235,7 +242,7 @@ gimpprint-configure:
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} all-local && \
( ${ECHO} '#ifndef GIMPPRINT_VERSION_FIX'; \
${ECHO} '#define GIMPPRINT_VERSION_FIX'; \
- ${GREP} "#define \(VERSION\|RELEASE_DATE\)" ../../config.h; \
+ ${EGREP} '#define (VERSION|RELEASE_DATE)' ../../config.h; \
${ECHO} '#endif /* GIMPPRINT_VERSION_FIX */'; \
) >> gdevstp-print.h; \
${CP} *.c *.h ${WRKSRC}/src && \