$OpenBSD: patch-wscript,v 1.3 2009/12/27 18:42:05 landry Exp $
--- wscript.orig	Sat Nov 14 23:09:11 2009
+++ wscript	Sun Dec 27 19:03:36 2009
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!${MODPY_BIN}
 # encoding: utf-8
 # Thomas Nagy, 2005, 2006, 2007, 2008
 
@@ -313,7 +313,7 @@ def build(bld):
 		if val != True and val != "y": sys.exit(1)
 		create_waf()
 
-	dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
+	dir = 'lib/python${MODPY_VERSION}/site-packages/wafadmin'
 
 	wafadmin = bld.new_task_gen('py')
 	wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
