svn commit: r323070 - in head/print: ghostscript7 ghostscript8 ghostscript9 ghostscript9-agpl
Hiroki Sato
hrs at FreeBSD.org
Mon Jul 15 17:17:02 UTC 2013
Author: hrs
Date: Mon Jul 15 17:17:01 2013
New Revision: 323070
URL: http://svnweb.freebsd.org/changeset/ports/323070
Log:
Fix drivers.mak generation. It did not work with X11, iconv, and svgalib
device drivers after OPTIONS_{MULTI,GROUP} conversion.
Reported by: Gert Doering
Modified:
head/print/ghostscript7/Makefile
head/print/ghostscript8/Makefile
head/print/ghostscript9-agpl/Makefile
head/print/ghostscript9/Makefile
Modified: head/print/ghostscript7/Makefile
==============================================================================
--- head/print/ghostscript7/Makefile Mon Jul 15 16:58:06 2013 (r323069)
+++ head/print/ghostscript7/Makefile Mon Jul 15 17:17:01 2013 (r323070)
@@ -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}}
Modified: head/print/ghostscript8/Makefile
==============================================================================
--- head/print/ghostscript8/Makefile Mon Jul 15 16:58:06 2013 (r323069)
+++ head/print/ghostscript8/Makefile Mon Jul 15 17:17:01 2013 (r323070)
@@ -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
.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}}
Modified: head/print/ghostscript9-agpl/Makefile
==============================================================================
--- head/print/ghostscript9-agpl/Makefile Mon Jul 15 16:58:06 2013 (r323069)
+++ head/print/ghostscript9-agpl/Makefile Mon Jul 15 17:17:01 2013 (r323070)
@@ -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 exp
.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}}
Modified: head/print/ghostscript9/Makefile
==============================================================================
--- head/print/ghostscript9/Makefile Mon Jul 15 16:58:06 2013 (r323069)
+++ head/print/ghostscript9/Makefile Mon Jul 15 17:17:01 2013 (r323070)
@@ -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 exp
.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}}
More information about the svn-ports-all
mailing list