svn commit: r414450 - head/net-p2p/bitcoin

Tijl Coosemans tijl at FreeBSD.org
Mon May 2 14:20:33 UTC 2016


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 at gmail.com
  Approved by:	robbak at 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 \


More information about the svn-ports-head mailing list