svn commit: r397081 - branches/2015Q3/archivers/p7zip

Mark Felder feld at FreeBSD.org
Wed Sep 16 20:29:07 UTC 2015


Author: feld
Date: Wed Sep 16 20:29:06 2015
New Revision: 397081
URL: https://svnweb.freebsd.org/changeset/ports/397081

Log:
  MFH: r396457
  
  Compile with -fPIC on PowerPC, otherwise resulting binaries are broken:
  
    Can't load '/usr/local/bin/../libexec/p7zip/7z.dll'
    (/usr/local/bin/../libexec/p7zip/7z.so: Unsupported relocation type 10
    in non-PLT relocations)
  
  Approved by:	ports-secteam (with hat)

Modified:
  branches/2015Q3/archivers/p7zip/Makefile
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/archivers/p7zip/Makefile
==============================================================================
--- branches/2015Q3/archivers/p7zip/Makefile	Wed Sep 16 20:28:28 2015	(r397080)
+++ branches/2015Q3/archivers/p7zip/Makefile	Wed Sep 16 20:29:06 2015	(r397081)
@@ -3,7 +3,7 @@
 
 PORTNAME=	p7zip
 PORTVERSION=	9.38.1
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	archivers
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}_${DISTVERSION}_src_all
@@ -23,6 +23,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVER
 CFLAGS_aarch64=	-fPIC
 CFLAGS_amd64=	-fPIC
 CFLAGS_ia64=	-fPIC
+CFLAGS_powerpc=	-fPIC
 
 OPTIONS_DEFINE=	DOCS
 


More information about the svn-ports-branches mailing list