svn commit: r482678 - head/math/pari

Yuri Victorovich yuri at FreeBSD.org
Sun Oct 21 14:43:54 UTC 2018


Author: yuri
Date: Sun Oct 21 14:43:53 2018
New Revision: 482678
URL: https://svnweb.freebsd.org/changeset/ports/482678

Log:
  math/pari: fix build on powerpc64
  
  PR:		232503
  Submitted by:	Piotr Kubaj <pkubaj at anongoth.pl>

Modified:
  head/math/pari/Makefile

Modified: head/math/pari/Makefile
==============================================================================
--- head/math/pari/Makefile	Sun Oct 21 14:34:39 2018	(r482677)
+++ head/math/pari/Makefile	Sun Oct 21 14:43:53 2018	(r482678)
@@ -16,7 +16,6 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_mips64=		fails to link: mpker.c:(.text+0x33bc): relocation truncated to fit: R_MIPS_TLS_GD against 'PARI_SIGINT_block'
-BROKEN_powerpc64=	fails to link: intnum.o: relocation truncated to fit: R_PPC64_GOT_TLSGD16 against symbol 'avma' defined in .tbss section in init.o
 
 LIB_DEPENDS=	libgmp.so:math/gmp
 
@@ -24,6 +23,7 @@ USES=		perl5 readline
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 HAS_CONFIGURE=	yes
+CFLAGS_powerpc64=	-mminimal-toc
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man/man1 \
 		--prefix=${PREFIX} \


More information about the svn-ports-head mailing list