1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

finance/quickfix: fix build on non-x86

Code uses x86 assembly, but makes it possible to use Boost atomic.
This commit is contained in:
Piotr Kubaj 2021-01-04 15:07:34 +00:00
parent 1dfca9d2c5
commit 5122d473a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560298

View File

@ -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
@ -44,6 +43,14 @@ 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|' \
${WRKSRC}/src/ruby/make_ruby.sh