From owner-svn-ports-all@freebsd.org Mon Jan 4 15:07:34 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BDBFC4D847C; Mon, 4 Jan 2021 15:07:34 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8fBG4r0Sz4qFF; Mon, 4 Jan 2021 15:07:34 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 98D931BB78; Mon, 4 Jan 2021 15:07:34 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 104F7YN0023621; Mon, 4 Jan 2021 15:07:34 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 104F7YJg023620; Mon, 4 Jan 2021 15:07:34 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202101041507.104F7YJg023620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 4 Jan 2021 15:07:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560298 - head/finance/quickfix X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/finance/quickfix X-SVN-Commit-Revision: 560298 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 15:07:34 -0000 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 + +.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|' \