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 _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"