From owner-svn-ports-all@freebsd.org Sun Jan 22 09:03:57 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1FABCBAF3C; Sun, 22 Jan 2017 09:03:56 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A33E2924; Sun, 22 Jan 2017 09:03:56 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0M93tHG026616; Sun, 22 Jan 2017 09:03:55 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0M93t4A026615; Sun, 22 Jan 2017 09:03:55 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201701220903.v0M93t4A026615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 22 Jan 2017 09:03:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432101 - in head/multimedia/libvpx: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2017 09:03:57 -0000 Author: jbeich Date: Sun Jan 22 09:03:55 2017 New Revision: 432101 URL: https://svnweb.freebsd.org/changeset/ports/432101 Log: multimedia/libvpx: grab and drop architecture whitelist PR: 216191 Approved by: ashish (previous maintainer) MFH: 2017Q1 Deleted: head/multimedia/libvpx/files/extra-patch-build_make_Makefile head/multimedia/libvpx/files/patch-configure Modified: head/multimedia/libvpx/Makefile (contents, props changed) Modified: head/multimedia/libvpx/Makefile ============================================================================== --- head/multimedia/libvpx/Makefile Sun Jan 22 09:01:20 2017 (r432100) +++ head/multimedia/libvpx/Makefile Sun Jan 22 09:03:55 2017 (r432101) @@ -6,7 +6,7 @@ DISTVERSIONPREFIX= v DISTVERSION= 1.6.1 CATEGORIES= multimedia -MAINTAINER= ashish@FreeBSD.org +MAINTAINER= jbeich@FreeBSD.org COMMENT= VP8/VP9 Codec SDK LICENSE= BSD3CLAUSE @@ -34,7 +34,17 @@ SHARED_DESC= Enable shared-library suppo SIZE_LIMIT_DESC=Maximum size allowed by decoder: ${SIZE_LIMIT} ALL_TARGET= -CONFIGURE_ARGS+=--prefix=${PREFIX} \ +CONFIGURE_ENV= ASFLAGS="${ASFLAGS}" +# Only explicitly list ARCHs with SIMD optimizations +CONFIGURE_ARGS_aarch64= --target=arm64-linux-gcc +CONFIGURE_ARGS_amd64= --target=x86_64-linux-gcc +CONFIGURE_ARGS_i386= --target=x86-linux-gcc +.if ${CFLAGS:M-march=armv[78]*} +CONFIGURE_ARGS+= --target=armv7-linux-gcc +ASFLAGS+= -meabi=5 +.endif +CONFIGURE_ARGS+=${CONFIGURE_ARGS_${ARCH}} \ + --prefix=${PREFIX} \ --disable-install-docs \ --disable-install-srcs \ --enable-pic \ @@ -57,29 +67,6 @@ THREADS_CONFIGURE_OFF= --disable-multith SHEBANG_FILES= build/make/ads2gas.pl -.include - -.if ${ARCH} == "amd64" -CONFIGURE_ARGS+= --target=x86_64-linux-gcc -.elif ${ARCH} == "i386" -CONFIGURE_ARGS+= --target=x86-linux-gcc -.elif ${ARCH} == "ia64" -CONFIGURE_ARGS+= --target=ia64-linux-gcc -.elif ${ARCH} == "powerpc" -CONFIGURE_ARGS+= --target=ppc32-linux-gcc -.elif ${ARCH} == "powerpc64" -CONFIGURE_ARGS+= --target=ppc64-linux-gcc -.elif ${ARCH} == "sparc64" -CONFIGURE_ARGS+= --target=sparc64-linux-gcc -.elif ${ARCH} == "aarch64" -CONFIGURE_ARGS+= --target=arm64-linux-gcc -.elif ${ARCH} == "armv6" -CONFIGURE_ARGS+= --target=armv6-linux-gcc --cpu=armv6 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-build_make_Makefile -.else -IGNORE= no support for ${ARCH} the moment. testing/patches are welcome -.endif - post-patch: @${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \ ${WRKSRC}/build/make/configure.sh