Date: Thu, 28 Sep 2017 19:32:49 +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: r450863 - head/audio/liba52 Message-ID: <201709281932.v8SJWn0Q017389@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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=[^"]+"!"!' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709281932.v8SJWn0Q017389>