Date: Wed, 6 Aug 2014 10:19:46 +0200 From: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> To: Tijl Coosemans <tijl@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: ports-mgmt/portmaster and DEFAULT_VERSION=gcc=4.8: lang/gcc dependency added Message-ID: <CAB88xy9wim63NadrbprYzU0igwM2v2G9y79YHqRVUvrPR5x1cg@mail.gmail.com> In-Reply-To: <20140805184347.54d87f4a@kalimero.tijl.coosemans.org> References: <CAB88xy_eHeZZnMUorefxp5Er2XRQd04ZJ5K7USyv14x8GmhOug@mail.gmail.com> <20140805184347.54d87f4a@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tijl, I've tested the patch and it works! Thanks! Is this patch submittable? thanks again! best regards, pizzamig On Tue, Aug 5, 2014 at 6:43 PM, Tijl Coosemans <tijl@freebsd.org> wrote: > On Tue, 5 Aug 2014 16:41:24 +0200 Luca Pizzamiglio wrote: >> Hi list, >> I found a small issue with ports-mgmt/portmaster and the variable >> DEFAULT_VERSION defined in /etc/make.conf >> >> I normally use clang, to build my ports, but I use the gcc48 port >> also. The actual lang/gcc is gcc 4.7.4, but I wouldn't another gcc >> installed :) >> In order to use lang/gcc48 instead of lang/gcc, I set >> DEFAULT_VERSION=gcc=4.8 in /etc/make.conf >> >> Now, if you try to build with portmaster any port that requires gcc, >> the dependency lang/gcc is added (for instance, with astro/wcslib, but >> also www/firefox or mail/thunderbird) >> # portmaster -D astro/wcslib >> >> ===>>> Currently installed version: wcslib-4.23 >> ===>>> Port directory: /usr/ports/astro/wcslib >> >> ===>>> Launching 'make checksum' for astro/wcslib in background >> ===>>> Gathering dependency list for astro/wcslib from ports >> ===>>> Launching child to install lang/gcc >> >> ===>>> wcslib-4.23 >> lang/gcc (1/1) >> >> ===>>> Port directory: /usr/ports/lang/gcc >> >> ===>>> Launching 'make checksum' for lang/gcc in background >> ===>>> Gathering dependency list for lang/gcc from ports >> >> If I run a simple "make" from the directory /usr/ports/astro/wcslib, >> no dependency is added and the right gcc is used. >> >> Am I the only one with this issue? > > Can you try the attached patch?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB88xy9wim63NadrbprYzU0igwM2v2G9y79YHqRVUvrPR5x1cg>