aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libunrar5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libunrar5/Makefile')
-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