Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2019 10:58:19 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514455 - head/sysutils/cbsd
Message-ID:  <201910141058.x9EAwJIm035082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Oct 14 10:58:19 2019
New Revision: 514455
URL: https://svnweb.freebsd.org/changeset/ports/514455

Log:
  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)

Modified:
  head/sysutils/cbsd/Makefile

Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile	Mon Oct 14 10:41:15 2019	(r514454)
+++ head/sysutils/cbsd/Makefile	Mon Oct 14 10:58:19 2019	(r514455)
@@ -18,11 +18,9 @@ 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910141058.x9EAwJIm035082>