aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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 \
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 8fd556fd2f9c..09a0b821e3c9 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 5371b50ebbc4..6a1088da34b0 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 \