From owner-svn-ports-head@FreeBSD.ORG Sat Nov 23 22:44:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED569295; Sat, 23 Nov 2013 22:44:00 +0000 (UTC) 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 C2FB72F85; Sat, 23 Nov 2013 22:44:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rANMi01a096438; Sat, 23 Nov 2013 22:44:00 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rANMi0JP096435; Sat, 23 Nov 2013 22:44:00 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201311232244.rANMi0JP096435@svn.freebsd.org> From: Koop Mast Date: Sat, 23 Nov 2013 22:44:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334696 - in head/audio/libsamplerate: . 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.16 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: Sat, 23 Nov 2013 22:44:01 -0000 Author: kwm Date: Sat Nov 23 22:44:00 2013 New Revision: 334696 URL: http://svnweb.freebsd.org/changeset/ports/334696 Log: Remove ',' at the end of the last entry of emumerator list. While here Stageify port, update LIB_DEPEND syntax and depend on package name instead of looking for a file. PR: ports/161568 Submitted by: Takefu Added: head/audio/libsamplerate/files/ head/audio/libsamplerate/files/patch-src_samplerate.h (contents, props changed) Modified: head/audio/libsamplerate/Makefile Modified: head/audio/libsamplerate/Makefile ============================================================================== --- head/audio/libsamplerate/Makefile Sat Nov 23 21:25:56 2013 (r334695) +++ head/audio/libsamplerate/Makefile Sat Nov 23 22:44:00 2013 (r334696) @@ -3,7 +3,7 @@ PORTNAME= libsamplerate PORTVERSION= 0.1.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://www.mega-nerd.com/SRC/ @@ -14,7 +14,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= pathfix pkgconfig -NO_STAGE= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= yes @@ -38,9 +37,9 @@ CONFIGURE_ARGS+= --disable-fftw .endif .if ${PORT_OPTIONS:MEXAMPLES} -LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile +LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile .elif defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING) -BUILD_DEPENDS += ${LOCALBASE}/lib/libsndfile.so:${PORTSDIR}/audio/libsndfile +BUILD_DEPENDS += libsndfile>=0:${PORTSDIR}/audio/libsndfile .else CONFIGURE_ARGS+= --disable-sndfile .endif @@ -59,4 +58,7 @@ check regression-test test: build check .endif +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsamplerate.so.1 + .include Added: head/audio/libsamplerate/files/patch-src_samplerate.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/libsamplerate/files/patch-src_samplerate.h Sat Nov 23 22:44:00 2013 (r334696) @@ -0,0 +1,11 @@ +--- src/samplerate.h.orig 2013-11-23 23:36:11.000000000 +0100 ++++ src/samplerate.h 2013-11-23 23:36:25.000000000 +0100 +@@ -174,7 +174,7 @@ + SRC_SINC_MEDIUM_QUALITY = 1, + SRC_SINC_FASTEST = 2, + SRC_ZERO_ORDER_HOLD = 3, +- SRC_LINEAR = 4, ++ SRC_LINEAR = 4 + } ; + + /*