Date: Tue, 6 Apr 2021 09:53:34 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5b92ed01d91a - main - biology/trimadap: fix build on powerpc64le Message-ID: <202104060953.1369rYbP029617@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b92ed01d91a2fa9932769a56436c597770ae839 commit 5b92ed01d91a2fa9932769a56436c597770ae839 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-04-06 09:53:56 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-04-06 09:53:56 +0000 biology/trimadap: fix build on powerpc64le Requires GCC for its SSE translation. --- biology/trimadap/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/biology/trimadap/Makefile b/biology/trimadap/Makefile index e5cb61388546..6c58fc954970 100644 --- a/biology/trimadap/Makefile +++ b/biology/trimadap/Makefile @@ -10,7 +10,7 @@ COMMENT= Trim adapter sequences from Illumina data using heuristic rules LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS= amd64 i386 powerpc64le ONLY_FOR_ARCHS_REASON= Hard-coded SSE instructions USE_GITHUB= yes @@ -20,6 +20,13 @@ PLIST_FILES= bin/trimadap-mt CFLAGS_i386= -msse2 +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc64le +CFLAGS+= -DNO_WARN_X86_INTRINSICS +USES= compiler:gcc-c++11-lib +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/trimadap-mt ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104060953.1369rYbP029617>