svn commit: r568663 - head/net/libstorj
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Mar 17 14:27:50 UTC 2021
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>
More information about the svn-ports-all
mailing list