svn commit: r450864 - branches/2017Q3/audio/liba52
Jan Beich
jbeich at FreeBSD.org
Thu Sep 28 19:43:07 UTC 2017
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=[^"]+"!"!' \
More information about the svn-ports-branches
mailing list