svn commit: r434076 - head/comms/libfec
Tijl Coosemans
tijl at FreeBSD.org
Tue Feb 14 10:57:12 UTC 2017
Author: tijl
Date: Tue Feb 14 10:57:11 2017
New Revision: 434076
URL: https://svnweb.freebsd.org/changeset/ports/434076
Log:
Use -fPIC for all architectures because the makefile tries to create a
shared library libfec.so from object files compiled without -fPIC.
Modified:
head/comms/libfec/Makefile
Modified: head/comms/libfec/Makefile
==============================================================================
--- head/comms/libfec/Makefile Tue Feb 14 10:52:20 2017 (r434075)
+++ head/comms/libfec/Makefile Tue Feb 14 10:57:11 2017 (r434076)
@@ -3,7 +3,7 @@
PORTNAME= libfec
PORTVERSION= 3.0.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
LOCAL/db
@@ -26,8 +26,8 @@ PLIST_FILES= include/fec.h \
man/man3/rs.3.gz \
man/man3/simd-viterbi.3.gz
-CFLAGS_aarch64= -fPIC
-CFLAGS_amd64= -fPIC
+# makefile tries to create libfec.so from object files compiled without -fPIC.
+CFLAGS+= -fPIC
post-patch:
@${CP} ${FILESDIR}/cpu_mode.c ${WRKSRC}
More information about the svn-ports-all
mailing list