openbsd-ports/devel/waf/patches/patch-wscript
landry 006bee3114 Update to waf-1.5.10. Midori & telepathy-buttefly are happy with it, and
it's needed by a forthcoming gigolo (yay!) port.
reads ok to & tested by jasper@
2009-12-27 18:42:05 +00:00

19 lines
589 B
Plaintext

$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'])