From owner-svn-ports-head@FreeBSD.ORG Fri Oct 25 07:11:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27CF8B54; Fri, 25 Oct 2013 07:11:24 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0721B2215; Fri, 25 Oct 2013 07:11:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9P7BNFZ045539; Fri, 25 Oct 2013 07:11:23 GMT (envelope-from ashish@svn.freebsd.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9P7BNwV045534; Fri, 25 Oct 2013 07:11:23 GMT (envelope-from ashish@svn.freebsd.org) Message-Id: <201310250711.r9P7BNwV045534@svn.freebsd.org> From: Ashish SHUKLA Date: Fri, 25 Oct 2013 07:11:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331559 - 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 07:11:24 -0000 Author: ashish Date: Fri Oct 25 07:11:22 2013 New Revision: 331559 URL: http://svnweb.freebsd.org/changeset/ports/331559 Log: - Add staging support - Fix ownership of installed files[0] - Fix building on systems with non UTF-8 locale[1] - Fix building on 10.x and later PR: ports/182693[0], ports/169369[1] Submitted by: Herbert J. Skuhra (via private mail)[1] Added: head/multimedia/libvpx/files/patch-build_make_Makefile (contents, props changed) Deleted: head/multimedia/libvpx/files/patch-build_make_rtcd.sh Modified: head/multimedia/libvpx/Makefile head/multimedia/libvpx/distinfo (contents, props changed) head/multimedia/libvpx/files/patch-libs.mk (contents, props changed) head/multimedia/libvpx/pkg-plist (contents, props changed) Modified: head/multimedia/libvpx/Makefile ============================================================================== --- head/multimedia/libvpx/Makefile Fri Oct 25 06:28:14 2013 (r331558) +++ head/multimedia/libvpx/Makefile Fri Oct 25 07:11:22 2013 (r331559) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libvpx -PORTVERSION= 1.1.0 +PORTVERSION= 1.2.0 CATEGORIES= multimedia MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-v${PORTVERSION} @@ -10,6 +10,9 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= ashish@FreeBSD.org COMMENT= VP8 Codec SDK +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ yasm:${PORTSDIR}/devel/yasm @@ -20,9 +23,6 @@ HAS_CONFIGURE= yes USE_PERL5= build USE_LDCONFIG= yes -LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/LICENSE - OPTIONS_DEFINE= DEBUG POSTPROC RUNTIME THREADS SHARED OPTIONS_DEFAULT= POSTPROC RUNTIME THREADS SHARED POSTPROC_DESC= Enable postprocessing @@ -31,11 +31,15 @@ SHARED_DESC= Enable shared-library suppo ALL_TARGET= CONFIGURE_ARGS+= --enable-pic --disable-install-srcs --enable-vp8 --disable-install-docs -MAKE_ARGS+= DIST_DIR=${PREFIX} verbose=yes +MAKE_ARGS+= DIST_DIR=${PREFIX} verbose=yes DESTDIR=${STAGEDIR} +MAKE_ENV= LC_ALL=C -NO_STAGE= yes .include +.if ${OSVERSION} >= 1000000 +CONFIGURE_ARGS+= --disable-unit-tests +.endif + .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif @@ -76,6 +80,8 @@ IGNORE= no support for ${ARCH} the momen post-patch: @${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \ ${WRKSRC}/build/make/configure.sh + @${REINPLACE_CMD} -e 's|%%DESTDIR%%|${STAGEDIR}|g' \ + ${WRKSRC}/build/make/Makefile ${WRKSRC}/libs.mk @${GREP} -Rl '^#!/bin/bash' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,#!/bin/bash,#!/usr/bin/env bash,g' @${GREP} -Rl -- '-l\?pthread' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -E \ Modified: head/multimedia/libvpx/distinfo ============================================================================== --- head/multimedia/libvpx/distinfo Fri Oct 25 06:28:14 2013 (r331558) +++ head/multimedia/libvpx/distinfo Fri Oct 25 07:11:22 2013 (r331559) @@ -1,2 +1,2 @@ -SHA256 (libvpx-v1.1.0.tar.bz2) = 9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5 -SIZE (libvpx-v1.1.0.tar.bz2) = 1653485 +SHA256 (libvpx-v1.2.0.tar.bz2) = 5ef0c650b2daa62085eb8105a7a4273f3e987db53c5ec97fd51d1b6511e5aa06 +SIZE (libvpx-v1.2.0.tar.bz2) = 1714121 Added: head/multimedia/libvpx/files/patch-build_make_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libvpx/files/patch-build_make_Makefile Fri Oct 25 07:11:22 2013 (r331559) @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- build/make/Makefile.orig ++++ build/make/Makefile +@@ -230,8 +230,8 @@ + define install_map_template + $(DIST_DIR)/$(1): $(2) + $(if $(quiet),@echo " [INSTALL] $$@") +- $(qexec)mkdir -p $$(dir $$@) +- $(qexec)cp -p $$< $$@ ++ $(qexec)install -d %%DESTDIR%%$$(dir $$@) ++ $(qexec)install -p $$< %%DESTDIR%%$$(dir $$@) + endef + + define archive_template Modified: head/multimedia/libvpx/files/patch-libs.mk ============================================================================== --- head/multimedia/libvpx/files/patch-libs.mk Fri Oct 25 06:28:14 2013 (r331558) +++ head/multimedia/libvpx/files/patch-libs.mk Fri Oct 25 07:11:22 2013 (r331559) @@ -3,9 +3,18 @@ $FreeBSD$ --- libs.mk.orig +++ libs.mk -@@ -242,8 +242,8 @@ - $(qexec)echo 'Conflicts:' >> $@ +@@ -209,7 +209,7 @@ + $(addprefix $(BUILD_PFX),$(notdir $(LIBVPX_SO_SYMLINKS))),\ + $(BUILD_PFX)$(LIBVPX_SO))) + $(eval $(call libvpx_symlink_template,\ +- $(addprefix $(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)),\ ++ $(addprefix $(DESTDIR)/$(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)),\ + $(DIST_DIR)/$(LIBSUBDIR)/$(LIBVPX_SO))) + + INSTALL-LIBS-$(CONFIG_SHARED) += $(LIBVPX_SO_SYMLINKS) +@@ -232,8 +232,8 @@ $(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@ + $(qexec)echo 'Libs.private: -lm -pthread' >> $@ $(qexec)echo 'Cflags: -I$${includedir}' >> $@ -INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc -INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc Modified: head/multimedia/libvpx/pkg-plist ============================================================================== --- head/multimedia/libvpx/pkg-plist Fri Oct 25 06:28:14 2013 (r331558) +++ head/multimedia/libvpx/pkg-plist Fri Oct 25 07:11:22 2013 (r331559) @@ -15,6 +15,6 @@ lib/libvpx.a libdata/pkgconfig/vpx.pc %%SHARED%%lib/libvpx.so %%SHARED%%lib/libvpx.so.1 -%%SHARED%%lib/libvpx.so.1.1 -%%SHARED%%lib/libvpx.so.1.1.0 +%%SHARED%%lib/libvpx.so.1.2 +%%SHARED%%lib/libvpx.so.1.2.0 @dirrm include/vpx