diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2016-05-02 14:20:32 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2016-05-02 14:20:32 +0000 |
commit | 41bc76f6fdc724e1cde992530cc46b41f6d9ec6f (patch) | |
tree | e521930715da663d88c5668113ad168333b916aa | |
parent | databases/tcl-lmdb: last commit required a PORTREVISION bump (diff) |
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)
Notes
Notes:
svn path=/head/; revision=414450
-rw-r--r-- | net-p2p/bitcoin/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile index 6d1b820a05cb..1c0f3d98947f 100644 --- a/net-p2p/bitcoin/Makefile +++ b/net-p2p/bitcoin/Makefile @@ -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 \ |