[Bug 204615] bsd.port.mk: USE_LINUX as build-only dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 17 00:26:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204615
Bug ID: 204615
Summary: bsd.port.mk: USE_LINUX as build-only dependency
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
USE_LINUX assumes anything built by a linux toolchain targets linuxulator. In
some cases a port may want to build either for native (e.g. using proprietary
toolchain) or for unsupported ABI (e.g. FreeBSD<->device bridge).
To fix maybe extend the syntax to allow arguments (similar to USES) e.g.,
USE_LINUX= yes:build
USE_LINUX= c6_64:build
to avoid hacks like in devel/fb-adb:
BUILD_DEPENDS= ${LINUX_BASE_PORT}
USE_LINUX= yes
.include <bsd.port.mk>
.if defined(.PARSEDIR)
RUN_DEPENDS:= ${RUN_DEPENDS:N${LINUX_BASE_PORT}}
.else
RUN_DEPENDS:= ${RUN_DEPENDS:N*linux_base*}
.endif
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list