Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 19:43:06 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r450864 - branches/2017Q3/audio/liba52
Message-ID:  <201709281943.v8SJh6iR021640@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Sep 28 19:43:06 2017
New Revision: 450864
URL: https://svnweb.freebsd.org/changeset/ports/450864

Log:
  MFH: r450863
  
  audio/liba52: build PIC objects on all architectures
  
  PR:		215974
  Reported by:	mmel
  Inspired by:	ArchLinux, Gentoo, Debian
  Reviewed by:	tijl (implicit)
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q3/audio/liba52/Makefile
Directory Properties:
  branches/2017Q3/   (props changed)

Modified: branches/2017Q3/audio/liba52/Makefile
==============================================================================
--- branches/2017Q3/audio/liba52/Makefile	Thu Sep 28 19:32:49 2017	(r450863)
+++ branches/2017Q3/audio/liba52/Makefile	Thu Sep 28 19:43:06 2017	(r450864)
@@ -28,11 +28,10 @@ DJBFFT_CFLAGS=		-I${LOCALBASE}/include
 DJBFFT_LDFLAGS=		-L${LOCALBASE}/lib
 DJBFFT_CONFIGURE_ON=	--enable-djbfft
 
-CFLAGS_aarch64=	-fPIC
-CFLAGS_amd64=	-fPIC
-CFLAGS_powerpc=	-fPIC
-
 HEADER_FILES=	liba52/a52_internal.h
+
+post-patch:
+	@${REINPLACE_CMD} '/-prefer-non-pic/d' ${WRKSRC}/configure
 
 post-patch-OPTIMIZED_CFLAGS-off:
 	@${REINPLACE_CMD} -E -e 's!-O3!${CFLAGS}!' -e 's!-mcpu=[^"]+"!"!' \



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