svn commit: r434321 - head/multimedia/x265

Jan Beich jbeich at FreeBSD.org
Fri Feb 17 23:32:11 UTC 2017


Author: jbeich
Date: Fri Feb 17 23:32:09 2017
New Revision: 434321
URL: https://svnweb.freebsd.org/changeset/ports/434321

Log:
  multimedia/x265: always build shared library with -fPIC
  
  This should unbreak build on sparc64, powerpc64 and reduce text
  relocations on i386.

Modified:
  head/multimedia/x265/Makefile   (contents, props changed)

Modified: head/multimedia/x265/Makefile
==============================================================================
--- head/multimedia/x265/Makefile	Fri Feb 17 23:31:49 2017	(r434320)
+++ head/multimedia/x265/Makefile	Fri Feb 17 23:32:09 2017	(r434321)
@@ -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*"


More information about the svn-ports-all mailing list