diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-15 17:17:01 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-15 17:17:01 +0000 |
commit | 0d3db84b1773ae71d2317d4225b1252fd07cccc3 (patch) | |
tree | 769875ea6e5be3b57b67b691a17819e10019bc71 /print | |
parent | da2cf059bbd02a1aa0780b28c51943c5f7d7ad39 (diff) |
Fix drivers.mak generation. It did not work with X11, iconv, and svgalib
device drivers after OPTIONS_{MULTI,GROUP} conversion.
Reported by: Gert Doering
Notes
Notes:
svn path=/head/; revision=323070
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript7/Makefile | 10 | ||||
-rw-r--r-- | print/ghostscript8/Makefile | 12 | ||||
-rw-r--r-- | print/ghostscript9-agpl/Makefile | 12 | ||||
-rw-r--r-- | print/ghostscript9/Makefile | 12 |
4 files changed, 34 insertions, 12 deletions
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index a0049e844961..cc35ce7f1b79 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -3,7 +3,7 @@ PORTNAME= ghostscript PORTVERSION= 7.07 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs \ @@ -85,7 +85,9 @@ USE_GNOME= gtk12 .include <bsd.port.pre.mk> .include "${FILESDIR}/Makefile.drivers_post" -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else @@ -128,7 +130,9 @@ pre-build-drivers.mak: .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/src/drivers.mak .endfor -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index 8c319f4abd0d..1bac0ed5a71b 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -3,7 +3,7 @@ PORTNAME= ghostscript PORTVERSION= 8.71 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ @@ -96,7 +96,10 @@ EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include <bsd.port.pre.mk> .include "${FILESDIR}/Makefile.drivers_post" -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else @@ -150,7 +153,10 @@ pre-build-drivers.mak: .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak .endfor -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} diff --git a/print/ghostscript9-agpl/Makefile b/print/ghostscript9-agpl/Makefile index f508ecfbe501..0829495c4705 100644 --- a/print/ghostscript9-agpl/Makefile +++ b/print/ghostscript9-agpl/Makefile @@ -2,7 +2,7 @@ PORTNAME= ghostscript PORTVERSION= 9.07 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ @@ -98,7 +98,10 @@ EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms libpng tiff zlib .include <bsd.port.pre.mk> .include "${FILESDIR}/Makefile.drivers_post" -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else @@ -148,7 +151,10 @@ pre-build-drivers.mak: .for N in ${DEVS_LIST} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile index a7a202df847d..2dcb924513c1 100644 --- a/print/ghostscript9/Makefile +++ b/print/ghostscript9/Makefile @@ -2,7 +2,7 @@ PORTNAME= ghostscript PORTVERSION= 9.06 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ @@ -100,7 +100,10 @@ EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms lcms2 libpng tiff zlib .include <bsd.port.pre.mk> .include "${FILESDIR}/Makefile.drivers_post" -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else @@ -150,7 +153,10 @@ pre-build-drivers.mak: .for N in ${DEVS_LIST} @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor -.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} +.for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ + ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ + ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} |