svn commit: r560298 - head/finance/quickfix

Piotr Kubaj pkubaj at FreeBSD.org
Mon Jan 4 15:07:34 UTC 2021


Author: pkubaj
Date: Mon Jan  4 15:07:34 2021
New Revision: 560298
URL: https://svnweb.freebsd.org/changeset/ports/560298

Log:
  finance/quickfix: fix build on non-x86
  
  Code uses x86 assembly, but makes it possible to use Boost atomic.

Modified:
  head/finance/quickfix/Makefile

Modified: head/finance/quickfix/Makefile
==============================================================================
--- head/finance/quickfix/Makefile	Mon Jan  4 14:37:05 2021	(r560297)
+++ head/finance/quickfix/Makefile	Mon Jan  4 15:07:34 2021	(r560298)
@@ -11,7 +11,6 @@ COMMENT=	Free FIX Protocol Implementation
 
 LICENSE=	GPLv3+
 
-BROKEN_powerpc64=	fails to configure: unable to find set_terminate in std or global namespace
 BROKEN_i386=	fails to build
 
 BUILD_DEPENDS=	bash:shells/bash
@@ -43,6 +42,14 @@ JAVA_USE=	java=yes
 JAVA_CONFIGURE_WITH=	java
 
 INSTALL_TARGET=install-strip
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CXXFLAGS+=	-DENABLE_BOOST_ATOMIC_COUNT
+LIB_DEPENDS+=	libboost_system.so:devel/boost-libs
+USES+=		compiler:c++11-lang localbase
+.endif
 
 post-extract:
 	@${REINPLACE_CMD} -e 's|^make|gmake|' \


More information about the svn-ports-head mailing list