Date: Mon, 10 Apr 2017 20:59:40 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: Matthias Apitz <guru@unixarea.de> Cc: <freebsd-ports@freebsd.org> Subject: Re: building net/samba43 in poudriere with gcc494 Message-ID: <5e4d42d1-1f21-9ce3-d314-086b7d2ecdd8@gwdg.de> In-Reply-To: <20170410183233.GA1645@c720-r314251> References: <20170410120637.GA4795@c720-r314251> <3b231056-6056-7e19-16d5-1dc69e1e8fbd@citrin.ru> <20170410183233.GA1645@c720-r314251>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 10.04.2017 um 20:32 schrieb Matthias Apitz: > El día lunes, abril 10, 2017 a las 12:11:47p. m. -0400, Anton Yuzhaninov escribió: > >> On 04/10/17 08:06, Matthias Apitz wrote: >>> >>> I was able to build net/samba34 with setting >>> >>> CC=gcc >>> CXX=g++ >>> >>> in /etc/make.conf on my r314251 with ports head from March, 4. >>> >>> How to is set CC=gcc only for the port net/samba34 in the make.conf >>> files used by poudriere, i.e. not for all the other ~1800 ports? >> >> Add >> >> .if ${.CURDIR:N*/ports/net/samba34} == "" >> USE_GCC=4.9 >> .endif >> >> to make.conf used by poudriere > > Thanks, but this does not work; it installs the gcc49 pkg in the jail, > but it sets the compiler to 'gcc49' which fails in the configure phase > of the port. > > matthias > I am using a file "jailname-portname-make.conf in /usr/local/etc/poudriere.d. The jailname is the one, you also use for the -j option of the poudriere run, the portname would be 'samba34'. In your case, this conf file should contain USE_GCC=5+ . HTH, Rainer Hurling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e4d42d1-1f21-9ce3-d314-086b7d2ecdd8>