gnu qsort check goes into an infinite loop on aarch64. Disable it.

PR:		233033
Submitted by:	Greg V <greg at unrelenting dot technology>
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-12-08 22:12:57 +00:00
parent 6a484eb5e6
commit 09a2f89ad4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486988

View file

@ -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/' \