Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2017 15:45:44 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430258 - head/archivers/libunrar5
Message-ID:  <201701011545.v01Fjidk058902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701011545.v01Fjidk058902>