Created attachment 169763 [details] Remove -isystem from CXXFLAGS to fix build During the exp-run in bug 208158, it was found that textproc/irstlm gives errors with libc++ 3.8.0 [1]: In file included from dictionary.cpp:23: In file included from ./mfstream.h:26: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:624: In file included from /usr/include/c++/v1/initializer_list:47: /usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found #include_next <stddef.h> ^ This is because the port inexplicably tries to add /usr/include as a system include directory, using -isystem, and this screws up the order of include directories. Fix it by removing the unnecessary -isystem flag. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/irstlm-5.80.03_4.log
please commit, thanks!
A commit references this bug: Author: pi Date: Sat Apr 30 08:18:32 UTC 2016 New revision: 414336 URL: https://svnweb.freebsd.org/changeset/ports/414336 Log: textproc/irstlm: Fix build with libc++ 3.8.0 PR: 209103 Submitted by: dim Approved by: demon Changes: head/textproc/irstlm/files/patch-src_Makefile.am
Committed, thanks!