diff options
author | Diane Bruce <db@FreeBSD.org> | 2018-09-28 23:20:20 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2018-09-28 23:20:20 +0000 |
commit | c2d4bf63db31986c64781d5c0589af975e4eab44 (patch) | |
tree | ad4bb5c1e6053208ec13f8a5bf11e2ffcc508752 /math | |
parent | 578d9ccbd672f2bdddfbd882a557debab00379b5 (diff) | |
download | ports-c2d4bf63db31986c64781d5c0589af975e4eab44.tar.gz ports-c2d4bf63db31986c64781d5c0589af975e4eab44.zip |
Fix build on i386 and aarch64 by enabling -fPIC
Tested on poudriere i386 and amd64 tested build on RPi3
PR: 214864
Reported by: @emaste
Notes
Notes:
svn path=/head/; revision=480886
Diffstat (limited to 'math')
-rw-r--r-- | math/ccmath/Makefile | 7 | ||||
-rw-r--r-- | math/ccmath/pkg-plist | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/math/ccmath/Makefile b/math/ccmath/Makefile index bc8596e475b4..7ffac4a8cba0 100644 --- a/math/ccmath/Makefile +++ b/math/ccmath/Makefile @@ -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 functions 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 diff --git a/math/ccmath/pkg-plist b/math/ccmath/pkg-plist deleted file mode 100644 index e6388eb8c19f..000000000000 --- a/math/ccmath/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -include/ccmath.h -lib/libccm.a -lib/libccm.so -lib/libccm.so.1 |