Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 15:07:34 +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: r560298 - head/finance/quickfix
Message-ID:  <202101041507.104F7YJg023620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



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