Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 14:00:52 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315291 - head/audio/shntool
Message-ID:  <201303261400.r2QE0qj4078359@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
 
-.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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303261400.r2QE0qj4078359>