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

Kris Kennaway kris at obsecurity.org
Mon Jul 28 04:44:01 PDT 2003


On Mon, Jul 28, 2003 at 12:12:22AM +0200, Tilman Linneweh wrote:

> Just picking a random PR.
> Instead of adding knobs to every port, a more
> generic solution might be appropriate, e.g. a bsd.port.mk patch.
> 
> 
> Oh, and I am not the first one with this idea.
> 
> PR 36112 by lev tries to introduce a IMHO better solution.

I thought I had replied recently to that PR (I'll add this mail as a
reply to that PR so we can record the rest of this thread).  I also
like this approach, but would prefer a more verbose variable name
(i.e. GHOSTSCRIPT_PORT) so that it's less cryptic.

I'm not sure about the need for GS_PORTSUFFIX though: if someone wants
to avoid X11 support then they would set GHOSTSCRIPT_PORT to
print/ghostscript-gnu-nox11 (and set WITHOUT_X11) so that none of
their ports that use gs pull in the X dependency.  ImageMagick just
happens to be about the only port that provides for this facility at
the moment, by checking WITHOUT_X11 explicitly.

Kris


More information about the freebsd-ports mailing list