ports/152610: [patch] print/ghostscript8 fails to suppport X
dirk.meyer at dinoex.sub.org
dirk.meyer at dinoex.sub.org
Sat Nov 27 09:00:25 UTC 2010
>Number: 152610
>Category: ports
>Synopsis: [patch] print/ghostscript8 fails to suppport X
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 27 09:00:20 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Dirk Meyer
>Release: FreeBSD 8.1-RELEASE
>Organization:
privat
>Environment:
ghostscript8 and ghostview installed.
>Description:
The options are not passed down to the build.
root at build8:/usr/ports/print/ghostscript8-nox11# make BATCH=yes -V WITH_X11 -V WITHOUT_X11 -VWITH_GS_x11
yes
root at build8:/usr/ports/print/ghostscript8# make BATCH=yes -V WITH_X11 -V WITHOUT_X11 -VWITH_GS_x11
true
Expeceted result:
root at build8:/usr/ports/current/ghostscript8# make BATCH=yes -V WITH_X11 -V WITHOUT_X11 -VWITH_GS_x11
true
yes
>How-To-Repeat:
ghostview fails to display any files,
reporting "Unknown device: x11"
to confirm ghostscript does not list x11 with:
gs -h
>Fix:
apply the patch
Index: files/Makefile.drivers_post
===================================================================
RCS file: /home/pcvs/ports/print/ghostscript8/files/Makefile.drivers_post,v
retrieving revision 1.4
diff -u -r1.4 Makefile.drivers_post
--- files/Makefile.drivers_post 21 Aug 2010 15:26:11 -0000 1.4
+++ files/Makefile.drivers_post 27 Nov 2010 08:49:08 -0000
@@ -64,6 +64,9 @@
.undef WITH_GS_${D}
.elif defined(WITH_GS_${D})
_CUPS_DEVS+= ${D}
+.elif ${OPTIONS_CUPS_DEFAULT} == "on"
+_CUPS_DEVS+= ${D}
+WITH_GS_${D}=yes
.endif
.endfor
@@ -83,6 +86,9 @@
.undef WITH_GS_${D}
.elif defined(WITH_GS_${D})
_VGA_DEVS+= ${D}
+.elif ${OPTIONS_SVGALIB_DEFAULT} == "on"
+_VGA_DEVS+= ${D}
+WITH_GS_${D}=yes
.endif
.endfor
@@ -100,6 +106,9 @@
. undef WITH_GS_${D}
.elif defined(WITH_GS_${D})
_X11_DEVS+= ${D}
+.elif ${OPTIONS_X11_DEFAULT} == "on"
+_X11_DEVS+= ${D}
+WITH_GS_${D}=yes
.endif
.endfor
@@ -130,6 +139,9 @@
.undef WITH_GS_${D}
.elif defined(WITH_GS_${D})
_ICONV_DEVS+= ${D}
+.elif ${OPTIONS_ICONV_DEFAULT} == "on"
+_ICONV_DEVS+= ${D}
+WITH_GS_${D}=yes
.endif
.endfor
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list