aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpkubaj <pkubaj@FreeBSD.org>2019-10-14 18:58:19 +0800
committerpkubaj <pkubaj@FreeBSD.org>2019-10-14 18:58:19 +0800
commite5d8401cf2190909fce344896efc514b4229f365 (patch)
tree754f5a04ee26a9b24fc7f72cc6fd10727610b2fb /sysutils
parent30494ae9fcca656971a098fd852cb6f56fd0b155 (diff)
downloadfreebsd-ports-gnome-e5d8401cf2190909fce344896efc514b4229f365.tar.gz
freebsd-ports-gnome-e5d8401cf2190909fce344896efc514b4229f365.tar.zst
freebsd-ports-gnome-e5d8401cf2190909fce344896efc514b4229f365.zip
sysutils/cbsd: fix build on GCC architectures
Linking to C++ libraries compiled by GCC9 requires GCC9: /wrkdirs/usr/ports/sysutils/cbsd/work/cbsd-12.1.1/misc/src/dump_iscsi_discovery.c:171: undefined reference to `simpleXmlGetLineNumber' /wrkdirs/usr/ports/sysutils/cbsd/work/cbsd-12.1.1/misc/src/dump_iscsi_discovery.c:205: undefined reference to `simpleXmlGetLineNumber' /wrkdirs/usr/ports/sysutils/cbsd/work/cbsd-12.1.1/misc/src/dump_iscsi_discovery.c:215: undefined reference to `simpleXmlGetLineNumber' /wrkdirs/usr/ports/sysutils/cbsd/work/cbsd-12.1.1/misc/src/dump_iscsi_discovery.c:225: undefined reference to `simpleXmlGetLineNumber' Also, remove -mminimal-toc, not needed with the current version. Approved by: mentors (implicit approval), portmgr (removing architecture specific fixes)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cbsd/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/cbsd/Makefile b/sysutils/cbsd/Makefile
index d46d2ec2173d..e5a61630ba97 100644
--- a/sysutils/cbsd/Makefile
+++ b/sysutils/cbsd/Makefile
@@ -18,12 +18,10 @@ RUN_DEPENDS= rsync:net/rsync \
LIB_DEPENDS= libssh2.so:security/libssh2 \
libsqlite3.so:databases/sqlite3
-USES= libedit pkgconfig:both
+USES= compiler:c++11-lang libedit pkgconfig:both
USE_GITHUB= yes
USE_RC_SUBR= cbsdd cbsdrsyncd cbsd-statsd-bhyve cbsd-statsd-hoster cbsd-statsd-jail
-CFLAGS_powerpc64= -mminimal-toc
-
SUB_FILES= pkg-message pkg-deinstall
CBSD_HOME?= ${PREFIX}/cbsd