$NetBSD$

--- NAnt.build.orig	2009-01-06 21:51:54.000000000 -0500
+++ NAnt.build
@@ -830,7 +830,7 @@
             the wrapper is created
         -->
         <echo file="${wrapper}" append="false">#!/bin/sh</echo>
-        <echo file="${wrapper}" append="true">exec ${path::combine(prefix, 'bin')}/mono ${path::combine(install.copylocation, 'bin')}/NAnt.exe "$@"</echo>
+        <echo file="${wrapper}" append="true">exec ${path::combine(prefix, 'bin')}/mono ${path::combine(install.vprefix, 'bin')}/NAnt.exe "$@"</echo>
         <exec program="chmod" commandline="a+x ${path::combine(install.bindir, 'nant')}"/>
     </target>
     <target name="rpm" depends="init, build">
