Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 22:43:58 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434059 - in head/biology/p5-AcePerl: . files
Message-ID:  <201702132243.v1DMhwck090945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Feb 13 22:43:58 2017
New Revision: 434059
URL: https://svnweb.freebsd.org/changeset/ports/434059

Log:
  Move -fPIC to where Linux puts it so it is limited to a single library.

Modified:
  head/biology/p5-AcePerl/Makefile
  head/biology/p5-AcePerl/files/FREEBSD_DEF

Modified: head/biology/p5-AcePerl/Makefile
==============================================================================
--- head/biology/p5-AcePerl/Makefile	Mon Feb 13 22:26:25 2017	(r434058)
+++ head/biology/p5-AcePerl/Makefile	Mon Feb 13 22:43:58 2017	(r434059)
@@ -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

Modified: head/biology/p5-AcePerl/files/FREEBSD_DEF
==============================================================================
--- head/biology/p5-AcePerl/files/FREEBSD_DEF	Mon Feb 13 22:26:25 2017	(r434058)
+++ head/biology/p5-AcePerl/files/FREEBSD_DEF	Mon Feb 13 22:43:58 2017	(r434059)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702132243.v1DMhwck090945>