Patch for emulators/linux_base-8 (was Re: warning)

Ulrich Spoerlein q at galgenberg.net
Fri Dec 2 13:56:54 GMT 2005


Alexander Leidinger wrote:
> >No. It has to do with pkgdep which blindly takes the path/port defined
> >in the Makefile, even if the binary/lib is coming from a port with a
> >different origin.
> >
> >Most prominent example is ghostscript. If you happen to install
> >ghostscript-afpl and then install something like epstools, it will
> >depend on ghostscript-gnu, not -afpl.
> 
> We have a switch for the ghostscript ports... but I agree with you.

If you're talking about WITH_GHOSTSCRIPT_AFPL, then it's not working as
you might think.

% cd /usr/ports/graphics/epstool
% make -V WITH_GHOSTSCRIPT_AFPL -V RUN_DEPENDS
true
gs:/usr/ports/print/ghostscript-gnu

... reading bsd.port.mk ...

AAAAAAAAAAAAAARRRGGHH, since when are we checking explicitly for
defined(foo) && foo == yes? I usually set my vars to "true", not "yes".

But anyway, the same problem exists with lynx vs lynx-ssl for example.
And: We have a ghostscript-gpl port too, which isn't even mentioned in
bsd.port.mk.

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20051202/ac53c212/attachment.bin


More information about the freebsd-emulation mailing list