aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-06-10 22:45:25 +0800
committerhrs <hrs@FreeBSD.org>2011-06-10 22:45:25 +0800
commit54aa41db3b93190b1534eb8cdd0c6eac1ecc31e6 (patch)
tree808c5afe345615807436d7f8917903625662efe9 /print
parentb1b1fb62e33231a1f8db73e3cac4b345eafaea0a (diff)
downloadfreebsd-ports-gnome-54aa41db3b93190b1534eb8cdd0c6eac1ecc31e6.tar.gz
freebsd-ports-gnome-54aa41db3b93190b1534eb8cdd0c6eac1ecc31e6.tar.zst
freebsd-ports-gnome-54aa41db3b93190b1534eb8cdd0c6eac1ecc31e6.zip
Fix an issue that the bbox device was not built.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript9/Makefile9
-rw-r--r--print/ghostscript9/files/Makefile.drivers_post2
2 files changed, 6 insertions, 5 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index fb1c6809fada..5c31f3742b84 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript9
PORTVERSION= 9.02
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \
SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
@@ -155,14 +155,15 @@ post-patch:
pre-build-drivers.mak:
@${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak
+ @${ECHO_CMD} 'DEVICE_DEVS=$${DISPLAY_DEV}' >> ${WRKSRC}/base/drivers.mak
.for N in ${DEVS_LIST}
- @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak
+ @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak
.endfor
.for D in ${OPTIONS:MGS_*:S/^GS_//}
.for N in ${DEVS_LIST}
.if defined(WITH_GS_${D})
-.for X in ${DEVICE_${N}:M${D}.dev}
- @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak
+.for X in ${${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}:M${D}.dev}
+ @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak
.endfor
.endif
.endfor
diff --git a/print/ghostscript9/files/Makefile.drivers_post b/print/ghostscript9/files/Makefile.drivers_post
index 8a99e84be0c5..56ed7f83123e 100644
--- a/print/ghostscript9/files/Makefile.drivers_post
+++ b/print/ghostscript9/files/Makefile.drivers_post
@@ -190,7 +190,7 @@ DEVICE_DEVS13=
DEVICE_DEVS14= jpeg.dev jpeggray.dev jpegcmyk.dev
DEVICE_DEVS15= pdfwrite.dev pswrite.dev ps2write.dev epswrite.dev \
txtwrite.dev pxlmono.dev pxlcolor.dev
-DEVICE_DEVS16=
+DEVICE_DEVS16= bbox.dev
DEVICE_DEVS17=
DEVICE_DEVS18=
DEVICE_DEVS20= cljet5.dev cljet5c.dev