aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2012-09-04 13:21:38 +0800
committerhrs <hrs@FreeBSD.org>2012-09-04 13:21:38 +0800
commit405930192495f569271a6d28886e1085e97f3a5e (patch)
tree1c3113887a75193c6546cca30348e04d21010253 /print/ghostscript8
parent4e140e9ca2b74f4e27c02a5b0e9281ba583a36c2 (diff)
downloadfreebsd-ports-gnome-405930192495f569271a6d28886e1085e97f3a5e.tar.gz
freebsd-ports-gnome-405930192495f569271a6d28886e1085e97f3a5e.tar.zst
freebsd-ports-gnome-405930192495f569271a6d28886e1085e97f3a5e.zip
Fix build on !i386 && !amd64.
PR: ports/171253
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile2
-rw-r--r--print/ghostscript8/Makefile.drivers2
2 files changed, 3 insertions, 1 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 01600ee878a1..45b7309abf23 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 <bsd.port.pre.mk>
+.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 175e4975a4ab..a2bc5f2901f8 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 \