Date: Wed, 17 Mar 2021 14:27:50 +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: r568663 - head/net/libstorj Message-ID: <202103171427.12HERopE099012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Mar 17 14:27:50 2021 New Revision: 568663 URL: https://svnweb.freebsd.org/changeset/ports/568663 Log: net/libstorj: fix build on non-x86 Use GCC, tested on powerpc64 but should also fix other architectes. Modified: head/net/libstorj/Makefile Modified: head/net/libstorj/Makefile ============================================================================== --- head/net/libstorj/Makefile Wed Mar 17 14:16:11 2021 (r568662) +++ head/net/libstorj/Makefile Wed Mar 17 14:27:50 2021 (r568663) @@ -11,13 +11,6 @@ COMMENT= C library and CLI for encrypted file transfer LICENSE= LGPL21+ -BROKEN_aarch64= fails to build: invokes x86 assembler -BROKEN_armv6= fails to build: invokes x86 assembler -BROKEN_armv7= fails to build: invokes x86 assembler -BROKEN_mips= fails to build: invokes x86 assembler -BROKEN_mips64= fails to build: invokes x86 assembler -BROKEN_riscv64= fails to build: invokes x86 assembler - LIB_DEPENDS= libjson-c.so:devel/json-c \ libuv.so:devel/libuv \ libcurl.so:ftp/curl \ @@ -36,5 +29,11 @@ MAKE_JOBS_UNSAFE= yes # ./storjtests.h:10:10: fatal e #CFLAGS+= -I. -I${LOCALBASE}/include #LDFLAGS+= -L. -L${LOCALBASE}/lib + +.include <bsd.port.options.mk> + +.if ${ARCH} != amd64 && ${ARCH} != i386 +USE_GCC= yes +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103171427.12HERopE099012>