Date: Sat, 27 Nov 2010 09:58:15 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/152610: [patch] print/ghostscript8 fails to suppport X Message-ID: <201011270858.oAR8wFdB078597@home3.dinoex.sub.de> Resent-Message-ID: <201011270900.oAR90KiY043027@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@build8:/usr/ports/print/ghostscript8-nox11# make BATCH=yes -V WITH_X11 -V WITHOUT_X11 -VWITH_GS_x11 yes root@build8:/usr/ports/print/ghostscript8# make BATCH=yes -V WITH_X11 -V WITHOUT_X11 -VWITH_GS_x11 true Expeceted result: root@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011270858.oAR8wFdB078597>