aboutsummaryrefslogtreecommitdiffstats
path: root/print
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
parent4e140e9ca2b74f4e27c02a5b0e9281ba583a36c2 (diff)
downloadfreebsd-ports-graphics-405930192495f569271a6d28886e1085e97f3a5e.tar.gz
freebsd-ports-graphics-405930192495f569271a6d28886e1085e97f3a5e.tar.zst
freebsd-ports-graphics-405930192495f569271a6d28886e1085e97f3a5e.zip
Fix build on !i386 && !amd64.
PR: ports/171253
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript8/Makefile2
-rw-r--r--print/ghostscript8/Makefile.drivers2
-rw-r--r--print/ghostscript9/Makefile2
-rw-r--r--print/ghostscript9/Makefile.drivers2
4 files changed, 6 insertions, 2 deletions
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 <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 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 <bsd.port.pre.mk>
+.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 \