svn commit: r434324 - branches/2017Q1/multimedia/x265

Jan Beich jbeich at FreeBSD.org
Fri Feb 17 23:35:38 UTC 2017


Author: jbeich
Date: Fri Feb 17 23:35:36 2017
New Revision: 434324
URL: https://svnweb.freebsd.org/changeset/ports/434324

Log:
  MFH: r434321
  
  multimedia/x265: always build shared library with -fPIC
  
  This should unbreak build on sparc64, powerpc64 and reduce text
  relocations on i386.
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q1/multimedia/x265/Makefile
Directory Properties:
  branches/2017Q1/   (props changed)

Modified: branches/2017Q1/multimedia/x265/Makefile
==============================================================================
--- branches/2017Q1/multimedia/x265/Makefile	Fri Feb 17 23:32:37 2017	(r434323)
+++ branches/2017Q1/multimedia/x265/Makefile	Fri Feb 17 23:35:36 2017	(r434324)
@@ -3,6 +3,7 @@
 
 PORTNAME=	x265
 PORTVERSION=	1.9
+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