[Bug 239503] devel/llvm80: fails to build with all options off
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 28 20:59:34 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239503
Bug ID: 239503
Summary: devel/llvm80: fails to build with all options off
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: brooks at FreeBSD.org
Reporter: phascolarctos at protonmail.ch
CC: brooks at FreeBSD.org
Flags: maintainer-feedback?(brooks at FreeBSD.org)
Assignee: brooks at FreeBSD.org
Attachment #206131 maintainer-approval?(brooks at FreeBSD.org)
Flags:
CC: brooks at FreeBSD.org
Created attachment 206131
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206131&action=edit
llvm80 - fix for all option off
I configured the port by setting all options off and choosing BE_FREEBSD as
backend, but it fails to build.
The first error is in patching, where it tries to patch two files listed in
SHEBANG_FILES, but they do not exist. I changed the Makefile by adding those
files to SHEBANG_FILES only when CLANG option is on.
The second error is with pkg-plist: the port tries to install four files that
are not in the stagedir. I fixed it by inserting the files in the plist only if
CLANG option is on.
I attach a patch with the fixes. I hope that I figured out correctly the needed
condition on CLANG option.
I tested succesfully my patch on 12.0-STABLE r350192 amd64.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list