Date: Mon, 2 May 2016 14:20:32 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414450 - head/net-p2p/bitcoin Message-ID: <201605021420.u42EKWuq014379@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Mon May 2 14:20:32 2016 New Revision: 414450 URL: https://svnweb.freebsd.org/changeset/ports/414450 Log: Add OBJCXX and OBJCXXFLAGS to CONFIGURE_ENV. When compiled on Darwin bitcoin-qt needs two extra files that are written in ObjC++. These aren't needed on FreeBSD but because of this the ObjC++ compiler is used as linker instead of the C++ compiler. Without defining OBJCXX clang may be used as C++ compiler while g++ is used as ObjC++ compiler. This may cause link problems. PR: 207110 Submitted by: olexander.v.melnyk@gmail.com Approved by: robbak@robbak.com (maintainer, via email) Modified: head/net-p2p/bitcoin/Makefile Modified: head/net-p2p/bitcoin/Makefile ============================================================================== --- head/net-p2p/bitcoin/Makefile Mon May 2 14:10:19 2016 (r414449) +++ head/net-p2p/bitcoin/Makefile Mon May 2 14:20:32 2016 (r414450) @@ -84,7 +84,8 @@ CONFIGURE_ARGS?= --without-libs \ --without-utils CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ - SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" + SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" \ + OBJCXX="${CXX}" OBJCXXFLAGS="${CXXFLAGS}" MAKE_ENV+= V=1 PLIST_FILES?= bin/bitcoin-qt share/applications/bitcoin-qt.desktop \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605021420.u42EKWuq014379>