From owner-svn-ports-all@FreeBSD.ORG Tue Mar 26 14:00:53 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A25E8D0; Tue, 26 Mar 2013 14:00:53 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F0A3FEB1; Tue, 26 Mar 2013 14:00:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2QE0qUw078360; Tue, 26 Mar 2013 14:00:52 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2QE0qj4078359; Tue, 26 Mar 2013 14:00:52 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201303261400.r2QE0qj4078359@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 26 Mar 2013 14:00:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315291 - head/audio/shntool 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.14 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: Tue, 26 Mar 2013 14:00:53 -0000 Author: bapt Date: Tue Mar 26 14:00:52 2013 New Revision: 315291 URL: http://svnweb.freebsd.org/changeset/ports/315291 Log: Fix after conversion to new options framework Approved by: miwi Modified: head/audio/shntool/Makefile Modified: head/audio/shntool/Makefile ============================================================================== --- head/audio/shntool/Makefile Tue Mar 26 13:02:02 2013 (r315290) +++ head/audio/shntool/Makefile Tue Mar 26 14:00:52 2013 (r315291) @@ -32,14 +32,14 @@ RDEP= AIFF:sox SHN:shorten FLAC APE:mac .include -.for i in ${RDEP} -o= ${i:C/:.*//} -. if ${PORT_OPTIONS:M${o}} -b= ${i:C/^[A-Z]*://:C/:.*//:L} -p= ${i:C/^[A-Z]*://:C/.*://:L} +.for o in ${PORT_OPTIONS} +m= ${RDEP:M${o}*} +.if ${m} +b= ${m:C/^[A-Z]*://:C/:.*//:L} +p= ${m:C/^[A-Z]*://:C/.*://:L} RUN_DEPENDS+= ${b}:${PORTSDIR}/audio/${p} RUN_DEPENDS:= ${RUN_DEPENDS} -. endif +.endif .endfor .include