From 405930192495f569271a6d28886e1085e97f3a5e Mon Sep 17 00:00:00 2001 From: hrs Date: Tue, 4 Sep 2012 05:21:38 +0000 Subject: Fix build on !i386 && !amd64. PR: ports/171253 --- print/ghostscript8/Makefile | 2 +- print/ghostscript8/Makefile.drivers | 2 ++ print/ghostscript9/Makefile | 2 +- print/ghostscript9/Makefile.drivers | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'print') diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index 01600ee878a..45b7309abf2 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -90,8 +90,8 @@ MLINKS= gslp.1 gsbj.1 \ CIDFONTDIR= ${DATADIR}/${PORTVERSION}/Resource EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib -.include "Makefile.drivers" .include +.include "Makefile.drivers" .include "${FILESDIR}/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} diff --git a/print/ghostscript8/Makefile.drivers b/print/ghostscript8/Makefile.drivers index 175e4975a4a..a2bc5f2901f 100644 --- a/print/ghostscript8/Makefile.drivers +++ b/print/ghostscript8/Makefile.drivers @@ -13,9 +13,11 @@ OPTIONS_X11= \ GS_x11rg16x \ GS_x11rg32x +.if ${ARCH:Mamd64} || ${ARCH:Mi386} OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib +.endif OPTIONS_ICONV= \ GS_oprp \ diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile index 8fd556fd2f9..09a0b821e3c 100644 --- a/print/ghostscript9/Makefile +++ b/print/ghostscript9/Makefile @@ -95,8 +95,8 @@ MLINKS= gslp.1 gsbj.1 \ EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper libpng tiff zlib -.include "Makefile.drivers" .include +.include "Makefile.drivers" .include "${FILESDIR}/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} diff --git a/print/ghostscript9/Makefile.drivers b/print/ghostscript9/Makefile.drivers index 5371b50ebbc..6a1088da34b 100644 --- a/print/ghostscript9/Makefile.drivers +++ b/print/ghostscript9/Makefile.drivers @@ -13,9 +13,11 @@ OPTIONS_X11= \ GS_x11rg16x \ GS_x11rg32x +.if ${ARCH:Mamd64} || ${ARCH:Mi386} OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib +.endif OPTIONS_ICONV= \ GS_oprp \ -- cgit