From 9ef1ab452beda7980b5ba9c04f91b0822ca4bfc7 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 25 Jan 2005 12:59:48 +0000 Subject: 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. --- print/ghostscript-gnu/Makefile.common | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'print') 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 -- cgit v1.2.3