Date: Wed, 22 Apr 2015 07:39:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199603] Mk/Uses/compiler.mk: cannot specify more than one argument Message-ID: <bug-199603-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: freebsd-ports-bugs@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199603-13>