svn commit: r396457 - head/archivers/p7zip

Alexey Dokuchaev danfe at FreeBSD.org
Wed Sep 9 08:38:07 UTC 2015


Author: danfe
Date: Wed Sep  9 08:38:06 2015
New Revision: 396457
URL: https://svnweb.freebsd.org/changeset/ports/396457

Log:
  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)

Modified:
  head/archivers/p7zip/Makefile

Modified: head/archivers/p7zip/Makefile
==============================================================================
--- head/archivers/p7zip/Makefile	Wed Sep  9 08:36:23 2015	(r396456)
+++ head/archivers/p7zip/Makefile	Wed Sep  9 08:38:06 2015	(r396457)
@@ -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-all mailing list