aboutsummaryrefslogtreecommitdiffstats
path: root/www/htmlcxx
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2013-09-13 10:52:43 +0800
committerkevlo <kevlo@FreeBSD.org>2013-09-13 10:52:43 +0800
commitea7e13c8353eff6d887c300b0d0f5b3af8160fcc (patch)
tree291763f6caa2677c2d95c6161cb8385750f1e20b /www/htmlcxx
parented886b213d8400788cba1189120bfc651fc266d0 (diff)
downloadfreebsd-ports-gnome-ea7e13c8353eff6d887c300b0d0f5b3af8160fcc.tar.gz
freebsd-ports-gnome-ea7e13c8353eff6d887c300b0d0f5b3af8160fcc.tar.zst
freebsd-ports-gnome-ea7e13c8353eff6d887c300b0d0f5b3af8160fcc.zip
- Fix build with clang
- Mark jobs unsafe
Diffstat (limited to 'www/htmlcxx')
-rw-r--r--www/htmlcxx/Makefile2
-rw-r--r--www/htmlcxx/files/patch-ci_string.h19
2 files changed, 21 insertions, 0 deletions
diff --git a/www/htmlcxx/Makefile b/www/htmlcxx/Makefile
index d7fef6d3d429..8bc4ac9175a8 100644
--- a/www/htmlcxx/Makefile
+++ b/www/htmlcxx/Makefile
@@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_JOBS_UNSAFE=yes
+
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
.include <bsd.port.mk>
diff --git a/www/htmlcxx/files/patch-ci_string.h b/www/htmlcxx/files/patch-ci_string.h
new file mode 100644
index 000000000000..bf8b8ab3cfce
--- /dev/null
+++ b/www/htmlcxx/files/patch-ci_string.h
@@ -0,0 +1,19 @@
+--- html/ci_string.h.orig 2013-09-13 10:48:21.000000000 +0800
++++ html/ci_string.h 2013-09-13 10:48:35.000000000 +0800
+@@ -4,16 +4,7 @@
+ #include <cctype>
+ #include <string>
+
+-#if __GNUC__ >= 3
+-#include <bits/char_traits.h>
+ struct ci_char_traits : public std::char_traits<char>
+-#elif defined(__GNUC__)
+-#include <std/straits.h>
+-struct ci_char_traits : public std::string_char_traits<char>
+-#else
+-//Hope string already include it
+-struct ci_char_traits : public std::char_traits<char>
+-#endif
+
+ // just inherit all the other functions
+ // that we don't need to override