On 04/03/2017 02:17, Julian Elischer wrote: > On 2/3/17 8:58 pm, Dimitry Andric wrote: >> On 2 Mar 2017, at 12:02, Mingo Rrubioer <mingorrubioer_at_gmail.com> wrote: >>> I would like to see how well FreeBSD does as a workstation OS in the >>> HPC world due to its stability and reliability, as well as LLVM/clang. >>> I would like to know if FreeBSD has something similar to Gentoo's >>> /etc/portage/make.conf file and /etc/portage/package.use/* files in >>> order to compile certain ports with certain compiler flags. >> It doesn't, though it would certainly be nice to have something like it >> at some point. The current idiom is to put something similar to the >> following in your /etc/make.conf: >> >> .if ${.CURDIR:M/usr/ports/foo/bar} >> CFLAGS+= [... flags for the foo/bar port ...] >> .endif >> >> .if ${.CURDIR:M/usr/ports/what/ever} >> CFLAGS+= [... flags for the what/ever port ...] >> .endif >> We can also put a Makefile.local in the port directory. There can also be arch and system specific makefiles. See /usr/ports/Mk/bsd.port.mk from about line 1211 https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk?view=markup#l1211 -- FreeBSD - the place to B...Software Developing Shane AmblerReceived on Sat Mar 04 2017 - 00:21:55 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC