openbsd-ports/devel/waf/patches/patch-wscript
2009-01-26 19:47:12 +00:00

19 lines
589 B
Plaintext

$OpenBSD: patch-wscript,v 1.2 2009/01/26 19:47:12 landry Exp $
--- wscript.orig Mon Dec 22 00:31:57 2008
+++ wscript Sun Jan 18 22:32:35 2009
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!${MODPY_BIN}
# encoding: utf-8
# Thomas Nagy, 2005, 2006, 2007, 2008
@@ -318,7 +318,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'])