summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta SATOH <nigoro.dev@gmail.com>2016-09-28 21:23:34 +0900
committerYuta SATOH <nigoro.dev@gmail.com>2016-09-28 21:23:34 +0900
commit6eafa0eea6cf020bdb7a44c4b7295eade87cf2c4 (patch)
tree7fc73ed00d9af82ee5a8604f64647557997c40aa /sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch
parenteclass/freebsd.eclass: add Gentoo/FreeBSD 11.0 support. (diff)
downloadgentoo-bsd-6eafa0eea6cf020bdb7a44c4b7295eade87cf2c4.tar.gz
gentoo-bsd-6eafa0eea6cf020bdb7a44c4b7295eade87cf2c4.tar.bz2
gentoo-bsd-6eafa0eea6cf020bdb7a44c4b7295eade87cf2c4.zip
sys-freebsd: initial version of 11.0
Diffstat (limited to 'sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch')
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch
new file mode 100644
index 0000000..013ad20
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-11.0-libproc-libcxx.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
+index e3b2578..acd76e8 100644
+--- a/lib/libproc/Makefile
++++ b/lib/libproc/Makefile
+@@ -18,7 +18,7 @@ CFLAGS+= -I${.CURDIR}
+
+ .if ${MK_CXX} == "no"
+ CFLAGS+= -DNO_CXA_DEMANGLE
+-.elif ${MK_LIBCPLUSPLUS} != "no"
++.elif ${COMPILER_TYPE} == "clang"
+ LIBADD+= cxxrt
+ .else
+ LIBADD+= supcplusplus