svn commit: r434131 - head/math/pari

Tijl Coosemans tijl at FreeBSD.org
Tue Feb 14 18:08:29 UTC 2017


Author: tijl
Date: Tue Feb 14 18:08:27 2017
New Revision: 434131
URL: https://svnweb.freebsd.org/changeset/ports/434131

Log:
  Remove -fPIC.  Problem was already fixed in r432070.
  Remove some other bits from older versions that no longer have any effect.

Modified:
  head/math/pari/Makefile

Modified: head/math/pari/Makefile
==============================================================================
--- head/math/pari/Makefile	Tue Feb 14 17:16:45 2017	(r434130)
+++ head/math/pari/Makefile	Tue Feb 14 18:08:27 2017	(r434131)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pari
 PORTVERSION=	2.9.1
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	math
 MASTER_SITES=	http://pari.math.u-bordeaux.fr/pub/pari/unix/ \
@@ -18,20 +19,15 @@ LIB_DEPENDS=	libgmp.so:math/gmp
 MAKE_JOBS_UNSAFE=	yes
 
 ALL_TARGET=	gp
-CONFIGURE_ENV=	ld="${LD}" perl="${PERL}" ranlib="${RANLIB}"
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man/man1 \
 		--prefix=${PREFIX} \
-		--share-prefix=${PREFIX}/share \
 		--with-gmp=${LOCALBASE}
 HAS_CONFIGURE=	yes
-MAKE_ENV+=	STRIP="${STRIP_CMD}"
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 USES=		perl5
 
-CFLAGS_aarch64=	-fPIC
-
 OPTIONS_DEFINE=		DOCS OPTIMIZED_CFLAGS X11
 OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS X11
 .ifndef WITH_DEBUG
@@ -49,9 +45,7 @@ PORTEXAMPLES=	*
 GP_VERSION=	${PORTVERSION:R}
 
 post-patch:
-	${REINPLACE_CMD} -E '/^list=/s/(ld|ranlib|perl|emacs)//g' \
-		${WRKSRC}/Configure
-	${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \
+	@${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \
 		${WRKSRC}/config/get_cc
 
 post-install:


More information about the svn-ports-all mailing list