Date: Fri, 02 Dec 2005 16:37:39 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Ulrich Spoerlein <q@galgenberg.net> Cc: ports@freebsd.org Subject: ghostscript afpl/gpl/gnu handling broken (was: Re: Patch for emulators/linux_base-8 (was Re: warning)) Message-ID: <20051202163739.1u13hh4gqoos08o0@netchild.homeip.net> In-Reply-To: <20051202135620.GC1100@galgenberg.net> References: <17284.32307.784247.207350@jerusalem.litteratus.org> <20051124105440.cqdu7ydpc084kgsc@netchild.homeip.net> <20051124125951.GD1054@galgenberg.net> <20051124180627.665225aa@Magellan.Leidinger.net> <20051201213117.GC1083@galgenberg.net> <20051202114650.qg08meypusws0cw8@netchild.homeip.net> <20051202111628.GA1100@galgenberg.net> <20051202143505.rk3edpic800cww40@netchild.homeip.net> <20051202135620.GC1100@galgenberg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein <q@galgenberg.net> wrote: [moving from emulation to ports] > 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. At least it works for me. ;-) > % 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". Send a PR and tell me about it. If nobody is faster, I will assign it to portmgr. > 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. Guess what: add the gpl port in the PR too. ;-) Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Don't mess with Mrs. Murphy!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051202163739.1u13hh4gqoos08o0>