Created attachment 162600 [details]
fix plist when EXTRAS option is not set.
When EXTRAS option of devel/llvm37 is off, the port fails to package:
=======================<phase: package >============================
===> Building package for llvm37-3.7.0_4
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/bin/clang-tidy37: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/bin/clang-tidy: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so.3.7.0: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so.3.7: No such file or directory
*** Error code 1
make: stopped in /usr/ports/devel/llvm37
=> Cleaning up wrkdir
===> Cleaning for llvm37-3.7.0_4
build of devel/llvm37 ended at Fri Oct 30 04:09:52 PDT 2015
build time: 00:48:45
!!! build failure encountered !!!
The attached patch adjusts the pkg-plist so this configuration builds correctly.
A commit references this bug:
Date: Mon Nov 2 17:40:01 UTC 2015
New revision: 400665
Fix a bug in the plist generator that miscatagorized a some EXTRAS files
as CLANG files.
Submitted by: marino
Fixed the underlying missing | character. Thanks!