diff options
author | Mark Felder <feld@FreeBSD.org> | 2015-09-16 20:29:06 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2015-09-16 20:29:06 +0000 |
commit | bcb0e0ef78a3b27f970ffd697cc2805153073034 (patch) | |
tree | 000285e998fe37dad4db32da745deb79c5b1f538 | |
parent | c50e18a119833e7a18aec671a5a922948cfc439e (diff) | |
download | ports-bcb0e0ef78a3b27f970ffd697cc2805153073034.tar.gz ports-bcb0e0ef78a3b27f970ffd697cc2805153073034.zip |
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)
Notes
Notes:
svn path=/branches/2015Q3/; revision=397081
-rw-r--r-- | archivers/p7zip/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index debec353e4cb..2993491666d5 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -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}_${PORTVERSION} CFLAGS_aarch64= -fPIC CFLAGS_amd64= -fPIC CFLAGS_ia64= -fPIC +CFLAGS_powerpc= -fPIC OPTIONS_DEFINE= DOCS |