diff options
author | danfe <danfe@FreeBSD.org> | 2015-09-09 16:38:06 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-09-09 16:38:06 +0800 |
commit | 3654cc1513524a3de58374e999478ff2a6fcf889 (patch) | |
tree | 5a4cd347fada54bc9ff43c69dce65a2b4e4991fe /archivers/p7zip | |
parent | 3d2e5e59bc4c8f709bc6ed002b07526700c4edc1 (diff) | |
download | freebsd-ports-gnome-3654cc1513524a3de58374e999478ff2a6fcf889.tar.gz freebsd-ports-gnome-3654cc1513524a3de58374e999478ff2a6fcf889.tar.zst freebsd-ports-gnome-3654cc1513524a3de58374e999478ff2a6fcf889.zip |
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)
Diffstat (limited to 'archivers/p7zip')
-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 |