aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkubaj <pkubaj@FreeBSD.org>2019-05-17 03:08:28 +0800
committerpkubaj <pkubaj@FreeBSD.org>2019-05-17 03:08:28 +0800
commit13bfa60ba92cda0582ebddd6504ca211ae6ff1bf (patch)
tree814650386563eee072d00d3ef13625f7de956986
parent00be135e1f92c77cc8c2fc90df51e3b47c6ed170 (diff)
downloadfreebsd-ports-gnome-13bfa60ba92cda0582ebddd6504ca211ae6ff1bf.tar.gz
freebsd-ports-gnome-13bfa60ba92cda0582ebddd6504ca211ae6ff1bf.tar.zst
freebsd-ports-gnome-13bfa60ba92cda0582ebddd6504ca211ae6ff1bf.zip
sysutils/bareos-server: Fix build with GCC-based architectures
Add USES=compiler:c++11-lang: CMake Error in core/src/plugins/filed/CMakeLists.txt: Target "bpipe-fd" requires the language dialect "CXX11" (with compiler extensions), but CMake does not know the compile flags to use to enable it. Approved by: mentors (implicit approval)
-rw-r--r--sysutils/bareos-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/bareos-server/Makefile b/sysutils/bareos-server/Makefile
index 9003ced45f05..a3914f1bff85 100644
--- a/sysutils/bareos-server/Makefile
+++ b/sysutils/bareos-server/Makefile
@@ -19,7 +19,8 @@ CONFLICTS?= bacula17*-server-* bareos16-server-*
LIB_DEPENDS+= liblzo2.so:archivers/lzo2 \
libjansson.so:devel/jansson
-USES+= cmake:insource pkgconfig readline:port shebangfix
+USES+= cmake:insource compiler:c++11-lang pkgconfig readline:port \
+ shebangfix
USE_GITHUB= yes
USERS= bareos