summaryrefslogtreecommitdiff
path: root/x11/py-wxWidgets
diff options
context:
space:
mode:
authorryoon <ryoon>2011-04-25 14:48:28 +0000
committerryoon <ryoon>2011-04-25 14:48:28 +0000
commitd8f5151cffb33ce26c92605500203e11e09022d8 (patch)
tree0b0270d5d490d2b4f8e334009c808ceac53282f7 /x11/py-wxWidgets
parentfae4b3866f718f2af5f78d4affe9bc4f710061fc (diff)
downloadpkgsrc-d8f5151cffb33ce26c92605500203e11e09022d8.tar.gz
Fix build.
Replace and check interpreters.
Diffstat (limited to 'x11/py-wxWidgets')
-rw-r--r--x11/py-wxWidgets/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/x11/py-wxWidgets/Makefile b/x11/py-wxWidgets/Makefile
index 970dacb8d63..e94935274a6 100644
--- a/x11/py-wxWidgets/Makefile
+++ b/x11/py-wxWidgets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2011/04/22 13:42:42 obache Exp $
+# $NetBSD: Makefile,v 1.32 2011/04/25 14:48:28 ryoon Exp $
#
VERSION= 2.8.10.1
@@ -29,6 +29,24 @@ PYDISTUTILSPKG= yes
#PYSETUPBUILDARGS= NO_SCRIPTS=1 ${WXARG}
#PYSETUPINSTALLARGS= NO_SCRIPTS=1 ${WXARG}
+SUBST_CLASSES+= fix-python
+SUBST_STAGE.fix-python= pre-configure
+SUBST_MESSAGE.fix-python= Fixing dynamic python
+SUBST_FILES.fix-python+= wx/lib/floatcanvas/*.py
+SUBST_FILES.fix-python+= wx/lib/floatcanvas/Utilities/*.py
+SUBST_FILES.fix-python+= wx/tools/Editra/*.py
+SUBST_FILES.fix-python+= wx/tools/Editra/src/*.py
+SUBST_FILES.fix-python+= wx/tools/Editra/src/extern/*.py
+SUBST_FILES.fix-python+= wx/tools/Editra/tests/syntax/python.python
+SUBST_FILES.fix-python+= wx/tools/Editra/Editra*
+SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},'
+
+CHECK_INTERPRETER_SKIP+= wx/tools/Editra/tests/syntax/d.d
+CHECK_INTERPRETER_SKIP+= wx/tools/Editra/tests/syntax/octave.oct
+CHECK_INTERPRETER_SKIP+= wx/tools/Editra/tests/syntax/ruby.rb
+CHECK_INTERPRETER_SKIP+= wx/tools/Editra/tests/syntax/tcl_tk.tcl
+CHECK_INTERPRETER_SKIP+= wx/tools/Editra/tests/syntax/perl.pl
+
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../graphics/glu/buildlink3.mk"