Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 08:38:07 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396457 - head/archivers/p7zip
Message-ID:  <201509090838.t898c7in079519@repo.freebsd.org>

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



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