Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2017 23:32:09 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434321 - head/multimedia/x265
Message-ID:  <201702172332.v1HNW9of074012@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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*"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702172332.v1HNW9of074012>