diff options
author | tv <tv@pkgsrc.org> | 2005-01-25 12:59:48 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-25 12:59:48 +0000 |
commit | 9ef1ab452beda7980b5ba9c04f91b0822ca4bfc7 (patch) | |
tree | 4ea00ad220b23828a8cd1bcd0f66d33bbbb73550 /print | |
parent | 4cc2b0ea75b394af5f5dbfc070519cb37b8e7258 (diff) | |
download | pkgsrc-9ef1ab452beda7980b5ba9c04f91b0822ca4bfc7.tar.gz |
Bad Ghostscript for using autoconf and then summarily ignoring $X_*LIBS.
Provide an explicit override for the Ghostscript-specific XLIBS
(no underscore, no -l in values) for Interix.
Remove obsolete ZOULARISBASE references.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-gnu/Makefile.common | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/print/ghostscript-gnu/Makefile.common b/print/ghostscript-gnu/Makefile.common index d00163c7d3b..862b50ac465 100644 --- a/print/ghostscript-gnu/Makefile.common +++ b/print/ghostscript-gnu/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2004/11/13 21:28:28 jlam Exp $ +# $NetBSD: Makefile.common,v 1.17 2005/01/25 12:59:48 tv Exp $ DISTNAME= ghostscript-${GS_VERS} GS_VERS= 7.07 @@ -42,6 +42,10 @@ PLIST_SRC= ${.CURDIR}/../../print/ghostscript-gnu/PLIST .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Interix" +MAKE_FLAGS+= XLIBS="Xt SM ICE Xext X11" +.endif + .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32" GCC_REQD+= 3.0 .endif @@ -54,10 +58,6 @@ CFLAGS+= -DHAVE_MKSTEMP=1 MAKE_FLAGS+= XCFLAGS="${CFLAGS}" MAKE_FLAGS+= XLDFLAGS="${LDFLAGS}" -.if ${OPSYS} == "SunOS" -LDFLAGS+= -L${ZOULARISBASE}/lib ${COMPILER_RPATH_FLAG}${ZOULARISBASE}/lib -.endif - REPLACE_PERL= lib/fixmswrd.pl GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource |