summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2017-01-01 15:45:43 +0000
committerJason E. Hale <jhale@FreeBSD.org>2017-01-01 15:45:43 +0000
commitf9c32ef3ae2a6f9f8d2e98247b5b69e5bf23d37b (patch)
treef74246bb203e8184aeae4cfcc4f8a49d29f72ed3 /archivers
parentdatabases/cego: update 2.32.4 -> 2.32.5 (diff)
Add -fPIC to CXXFLAGS to fix build with amd64 and other archs that likely
need it Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=430258
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libunrar5/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/libunrar5/Makefile b/archivers/libunrar5/Makefile
index b1d55606a999..a646843db454 100644
--- a/archivers/libunrar5/Makefile
+++ b/archivers/libunrar5/Makefile
@@ -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