diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-18 07:32:09 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-18 07:32:09 +0800 |
commit | 4c862598bb45794064c2d1a23ad861b396c88894 (patch) | |
tree | bd0941abba12be7c09bfdc36bbf2cb822eeeb6f9 /multimedia/x265 | |
parent | 33a1c15869136f5e531962c01ad045db16881a15 (diff) | |
download | freebsd-ports-gnome-4c862598bb45794064c2d1a23ad861b396c88894.tar.gz freebsd-ports-gnome-4c862598bb45794064c2d1a23ad861b396c88894.tar.zst freebsd-ports-gnome-4c862598bb45794064c2d1a23ad861b396c88894.zip |
multimedia/x265: always build shared library with -fPIC
This should unbreak build on sparc64, powerpc64 and reduce text
relocations on i386.
Diffstat (limited to 'multimedia/x265')
-rw-r--r-- | multimedia/x265/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/x265/Makefile b/multimedia/x265/Makefile index 9a931108931e..505a53f6ff8a 100644 --- a/multimedia/x265/Makefile +++ b/multimedia/x265/Makefile @@ -3,6 +3,7 @@ PORTNAME= x265 PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://bitbucket.org/multicoreware/${PORTNAME}/get/ DISTNAME= ${PORTVERSION} @@ -18,8 +19,7 @@ BUILD_DEPENDS= yasm:devel/yasm USES= cmake pathfix tar:bz2 USE_LDCONFIG= yes -CMAKE_ARGS= -DENABLE_TESTS=on -DPLATFORM_LIBS=md -CFLAGS_aarch64= -fPIC +CMAKE_ARGS= -DENABLE_PIC=on -DENABLE_TESTS=on -DPLATFORM_LIBS=md CFLAGS_mips= -DNO_ATOMICS # cannot use lang/gcc CFLAGS_mips64= -DNO_ATOMICS # cannot use lang/gcc EXTRACT_AFTER_ARGS+= --exclude "md5*" |