Date: Sun, 8 Oct 2017 18:57:40 +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: r451562 - in head/multimedia/libvpx: . files Message-ID: <201710081857.v98IveIj028390@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Oct 8 18:57:40 2017 New Revision: 451562 URL: https://svnweb.freebsd.org/changeset/ports/451562 Log: multimedia/libvpx: unblock build on mips* mips* cannot use lang/gcc*, so let it use GCC 4.2 in base. Other archs may work as well but x86 won't per r422956. Modified: head/multimedia/libvpx/Makefile (contents, props changed) head/multimedia/libvpx/files/patch-libs.mk (contents, props changed) Modified: head/multimedia/libvpx/Makefile ============================================================================== --- head/multimedia/libvpx/Makefile Sun Oct 8 18:57:28 2017 (r451561) +++ head/multimedia/libvpx/Makefile Sun Oct 8 18:57:40 2017 (r451562) @@ -18,7 +18,7 @@ BUILD_DEPENDS= yasm:devel/yasm USE_GITHUB= yes GH_ACCOUNT= webmproject -USES= compiler:c11 cpe gmake perl5 shebangfix +USES= cpe gmake perl5 shebangfix CPE_VENDOR= john_koleszar HAS_CONFIGURE= yes USE_PERL5= build Modified: head/multimedia/libvpx/files/patch-libs.mk ============================================================================== --- head/multimedia/libvpx/files/patch-libs.mk Sun Oct 8 18:57:28 2017 (r451561) +++ head/multimedia/libvpx/files/patch-libs.mk Sun Oct 8 18:57:40 2017 (r451562) @@ -1,8 +1,19 @@ ---- libs.mk.orig +--- libs.mk.orig 2017-01-12 20:27:27 UTC +++ libs.mk -@@ -232,8 +232,8 @@ - $(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@ - $(qexec)echo 'Libs.private: -lm -pthread' >> $@ +@@ -117,8 +117,8 @@ endif + $(BUILD_PFX)third_party/googletest/%.cc.o: CXXFLAGS += -Wno-missing-field-initializers + # Suppress -Wextra warnings in first party code pending investigation. + # https://bugs.chromium.org/p/webm/issues/detail?id=1069 +-$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered +-$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered ++$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-extra ++$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-extra + + ifeq ($(CONFIG_MSVS),yes) + CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd) +@@ -339,8 +339,8 @@ else + $(qexec)echo 'Libs.private: -lm' >> $@ + endif $(qexec)echo 'Cflags: -I$${includedir}' >> $@ -INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc -INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710081857.v98IveIj028390>