[Bug 199603] Mk/Uses/compiler.mk: cannot specify more than one argument
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 22 07:39:20 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199603
Bug ID: 199603
Summary: Mk/Uses/compiler.mk: cannot specify more than one
argument
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: freebsd-ports-bugs at FreeBSD.org
Currently, USES is designed to be parsed only once. This means any conditional
within the feature will only work for the first argument. A possible fix is to
workaround limitation by using feature-local variable like USES=python did.
Consider the following example which should default to GCC until Clang gains
OpenMP support.
USES= compiler:c++11-lib compiler:openmp
then try
$ make -V CC
$ make -V compiler_ARGS
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list