Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2018 23:20:21 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480886 - head/math/ccmath
Message-ID:  <201809282320.w8SNKLRj058500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Fri Sep 28 23:20:20 2018
New Revision: 480886
URL: https://svnweb.freebsd.org/changeset/ports/480886

Log:
  Fix build on i386 and aarch64 by enabling -fPIC
  Tested on poudriere i386 and amd64 tested build on RPi3
  
  PR:		214864
  Reported by:	@emaste

Deleted:
  head/math/ccmath/pkg-plist
Modified:
  head/math/ccmath/Makefile

Modified: head/math/ccmath/Makefile
==============================================================================
--- head/math/ccmath/Makefile	Fri Sep 28 22:11:45 2018	(r480885)
+++ head/math/ccmath/Makefile	Fri Sep 28 23:20:20 2018	(r480886)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ccmath
 PORTVERSION=	2.2.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 MASTER_SITES=	SUNSITE/libs
 
@@ -12,9 +12,8 @@ COMMENT=	Mathematics library with many different funct
 
 LICENSE=	LGPL20
 
-BROKEN_aarch64=		fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol: bias in readonly segment; recompile object files with -fPIC
-
 USE_LDCONFIG=	yes
+PLIST_FILES=	include/ccmath.h lib/libccm.a lib/libccm.so lib/libccm.so.1
 
 PORTDOCS=	*
 SRC_DIRS=	cfit complex fft geom intg matrix roots sfunc simu sort statf \
@@ -24,9 +23,7 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64"
 COPT=		-fPIC
-.endif
 
 post-extract:
 	@${CP} ${WRKSRC}/matrix/supp/solv.c ${WRKSRC}/matrix



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