From 5b57624948d457aa91a540313787eaaec3546099 Mon Sep 17 00:00:00 2001 From: jhale Date: Sun, 1 Jan 2017 15:45:43 +0000 Subject: Add -fPIC to CXXFLAGS to fix build with amd64 and other archs that likely need it Reported by: pkg-fallout --- archivers/libunrar5/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archivers') 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 -- cgit