ports/36112: [PATCH] New feature for whole ports tree: GS_PORT variable

Kris Kennaway kris at obsecurity.org
Mon Jul 28 06:22:43 PDT 2003


On Mon, Jul 28, 2003 at 03:06:35PM +0200, Jens Rehsack wrote:

> >That's not really a problem; ports that have their own optional X11
> >dependencies can (and should) have their WITHOUT_X11 checks to disable
> >this, but there's no need for it to also add -nox11 to the ghostscript
> >port.  The use would just set WITHOUT_X11=foo to turn off x11 support
> >in ImageMagick, and GHOSTSCRIPT_PORT=print/ghostscript-gnu-x11 to make
> >it depend on a non-X11 ghostscript variant.
> 
> The prblem is here:
> # cd /usr/port/textproc/latex2html
> # env WITHOUT_X11 make build install clean
>   --> this action will build and install latex2html's current
>       version but it will depent on print/ghostscript-[a-z]
>       instead of print/ghostscript-[a-z]-nox11 as it should.
>       A portupgrade -fa (without having WITHOUT_X11 defined)
>       will re-build ghostscript with X11 support this time.
>   --> A check for the -nox11 ghostscript port is an easy way
>       and should be done by the included script.

I think we're talking at cross-purposes.  If latex2html is changed to
use GHOSTSCRIPT_PORT, then the port built with
GHOSTSCRIPT_PORT=print/ghostscript-gnu-x11 and WITHOUT_X11=foo will
have the correct dependencies.

Kris


More information about the freebsd-ports mailing list