svn commit: r450863 - head/audio/liba52

Jan Beich jbeich at FreeBSD.org
Thu Sep 28 19:32:50 UTC 2017


Author: jbeich
Date: Thu Sep 28 19:32:49 2017
New Revision: 450863
URL: https://svnweb.freebsd.org/changeset/ports/450863

Log:
  audio/liba52: build PIC objects on all architectures
  
  PR:		215974
  Reported by:	mmel
  Inspired by:	ArchLinux, Gentoo, Debian
  Reviewed by:	tijl (implicit)

Modified:
  head/audio/liba52/Makefile   (contents, props changed)

Modified: head/audio/liba52/Makefile
==============================================================================
--- head/audio/liba52/Makefile	Thu Sep 28 19:32:33 2017	(r450862)
+++ head/audio/liba52/Makefile	Thu Sep 28 19:32:49 2017	(r450863)
@@ -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=[^"]+"!"!' \


More information about the svn-ports-all mailing list