aboutsummaryrefslogtreecommitdiff
path: root/lang/swi-pl/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-12-08 22:12:57 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-12-08 22:12:57 +0000
commit09a2f89ad40b14d78ecdac9f6969b69236c7d961 (patch)
treeebe9294bbba36819e6a84e7f4fe7c7136ba99f64 /lang/swi-pl/Makefile
parent6a484eb5e66bb13889a9344d6f3613affb45f91b (diff)
downloadports-09a2f89ad40b14d78ecdac9f6969b69236c7d961.tar.gz
ports-09a2f89ad40b14d78ecdac9f6969b69236c7d961.zip
Notes
Diffstat (limited to 'lang/swi-pl/Makefile')
-rw-r--r--lang/swi-pl/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 2fa70887faa7..73397136c94b 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -12,16 +12,16 @@ COMMENT= Edinburgh-style Prolog compiler
LICENSE= BSD2CLAUSE
+BROKEN_mips= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
+BROKEN_mips64= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
+BROKEN_powerpc64= fails to compile: pce_principal.pl:155: Shared object "pl2xpce" not found, required by "swipl"
+
LIB_DEPENDS= libgmp.so:math/gmp \
libodbc.so:databases/unixODBC \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpcre.so:devel/pcre
-BROKEN_mips= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
-BROKEN_mips64= fails to link: libswipl.so: undefined reference to '__sync_sub_and_fetch_4'
-BROKEN_powerpc64= fails to compile: pce_principal.pl:155: Shared object "pl2xpce" not found, required by "swipl"
-
SWIPLDIR= ${PORTNAME:C/-//}-${PORTVERSION}
NOPRECIOUSMAKEVARS= yes
@@ -58,6 +58,10 @@ PLIST_SUB+= BITS=64
ARCH= x86_64
.endif
+.if (${ARCH} == aarch64)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-skip-gnu-qsort
+.endif
+
post-configure:
.if ${ARCH} != i386
@${REINPLACE_CMD} -e '/^CMFLAGS=/s/$$/ -fPIC/' \