aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-02-14 06:43:58 +0800
committertijl <tijl@FreeBSD.org>2017-02-14 06:43:58 +0800
commit2e2deefe2da2a17c536facb85764cd684b6b8eb2 (patch)
tree949f16af340994b56d7fe988d3487c7ff7c919e7 /biology
parentda37614a2a84d95650fb66228882bf0e3182b3a6 (diff)
downloadfreebsd-ports-gnome-2e2deefe2da2a17c536facb85764cd684b6b8eb2.tar.gz
freebsd-ports-gnome-2e2deefe2da2a17c536facb85764cd684b6b8eb2.tar.zst
freebsd-ports-gnome-2e2deefe2da2a17c536facb85764cd684b6b8eb2.zip
Move -fPIC to where Linux puts it so it is limited to a single library.
Diffstat (limited to 'biology')
-rw-r--r--biology/p5-AcePerl/Makefile5
-rw-r--r--biology/p5-AcePerl/files/FREEBSD_DEF1
2 files changed, 2 insertions, 4 deletions
diff --git a/biology/p5-AcePerl/Makefile b/biology/p5-AcePerl/Makefile
index 188922db72d1..a9748ddf2b92 100644
--- a/biology/p5-AcePerl/Makefile
+++ b/biology/p5-AcePerl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= AcePerl
PORTVERSION= 1.92
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= biology databases perl5
MASTER_SITES= CPAN/Ace
PKGNAMEPREFIX= p5-
@@ -21,9 +21,6 @@ MAKE_JOBS_UNSAFE= yes
USES= perl5
USE_PERL5= configure
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
-
post-patch:
@${SED} -e 's|XX__CC__XX|${CC}|' < ${FILESDIR}/FREEBSD_DEF \
> ${WRKSRC}/acelib/wmake/FREEBSD_DEF
diff --git a/biology/p5-AcePerl/files/FREEBSD_DEF b/biology/p5-AcePerl/files/FREEBSD_DEF
index 8bd08b97c19b..d273b6c03b6c 100644
--- a/biology/p5-AcePerl/files/FREEBSD_DEF
+++ b/biology/p5-AcePerl/files/FREEBSD_DEF
@@ -12,6 +12,7 @@ NAME = FREEBSD
CFLAGS+= -g -Wall -DACEDB4
COMPILER = XX__CC__XX ${CFLAGS}
LINKER = XX__CC__XX -g
+USEROPTS=-fPIC
LIBS = -lm
Xt_LIBS = -L/usr/X11R6/lib -lXaw -lXt -lXmu -lXext -lX11