aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-02-15 02:08:27 +0800
committertijl <tijl@FreeBSD.org>2017-02-15 02:08:27 +0800
commit24fb80d87e367c1d791a1a3a2a158c5d05fb5b32 (patch)
tree2c4a95ec05c4afd1d1a7bd335657b914354ecad9 /math
parentfa5caf79a512de19bf1e687ad6ebb2dae24772bd (diff)
downloadfreebsd-ports-gnome-24fb80d87e367c1d791a1a3a2a158c5d05fb5b32.tar.gz
freebsd-ports-gnome-24fb80d87e367c1d791a1a3a2a158c5d05fb5b32.tar.zst
freebsd-ports-gnome-24fb80d87e367c1d791a1a3a2a158c5d05fb5b32.zip
Remove -fPIC. Problem was already fixed in r432070.
Remove some other bits from older versions that no longer have any effect.
Diffstat (limited to 'math')
-rw-r--r--math/pari/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 8c1e9656dce7..4b920835bd59 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -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: