svn commit: r430258 - head/archivers/libunrar5
Jason E. Hale
jhale at FreeBSD.org
Sun Jan 1 15:45:45 UTC 2017
Author: jhale
Date: Sun Jan 1 15:45:43 2017
New Revision: 430258
URL: https://svnweb.freebsd.org/changeset/ports/430258
Log:
Add -fPIC to CXXFLAGS to fix build with amd64 and other archs that likely
need it
Reported by: pkg-fallout
Modified:
head/archivers/libunrar5/Makefile
Modified: head/archivers/libunrar5/Makefile
==============================================================================
--- head/archivers/libunrar5/Makefile Sun Jan 1 15:43:37 2017 (r430257)
+++ head/archivers/libunrar5/Makefile Sun Jan 1 15:45:43 2017 (r430258)
@@ -2,6 +2,7 @@
PORTNAME= libunrar5
PORTVERSION= 5.4.5
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
DISTNAME= unrarsrc-${PORTVERSION}
@@ -21,7 +22,7 @@ ALL_TARGET= lib liba
MAKEFILE= makefile
MAKE_ARGS= AR="${AR}" \
CXX="${CXX}" \
- CXXFLAGS="${CXXFLAGS}" \
+ CXXFLAGS="${CXXFLAGS} -fPIC" \
LDFLAGS="-Wl,-soname,${SONAME} -pthread ${LDFLAGS}" \
STRIP="${STRIP_CMD}"
SONAME= libunrar.so.5
More information about the svn-ports-all
mailing list