- fix the default path to the python interpreter; prevents annoying warnings

when loading .py files.
This commit is contained in:
jasper 2013-05-31 22:20:42 +00:00
parent fa7bce4169
commit 0835431012
2 changed files with 16 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.92 2013/05/31 21:49:49 jasper Exp $
# $OpenBSD: Makefile,v 1.93 2013/05/31 22:20:42 jasper Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= versatile IDE for GNOME
GNOME_PROJECT= anjuta
GNOME_VERSION= 3.8.3
REVISION= 2
REVISION= 3
SHARED_LIBS += anjuta-3 0.0 # 0.0
@ -84,7 +84,8 @@ pre-configure:
${SUBST_CMD} ${WRKSRC}/plugins/project-wizard/templates/pygtk.wiz.in \
${WRKSRC}/plugins/project-wizard/templates/python.wiz.in \
${WRKSRC}/plugins/project-wizard/templates/pygtk/src/main.py \
${WRKSRC}/plugins/project-wizard/templates/python/src/main.py
${WRKSRC}/plugins/project-wizard/templates/python/src/main.py \
${WRKSRC}/plugins/language-support-python/org.gnome.anjuta.plugins.python.gschema.xml.in
post-install:
rm ${PREFIX}/lib/anjuta/*.la

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-plugins_language-support-python_org_gnome_anjuta_plugins_python_gschema_xml_in,v 1.1 2013/05/31 22:20:42 jasper Exp $
--- plugins/language-support-python/org.gnome.anjuta.plugins.python.gschema.xml.in.orig Sat Jun 1 01:37:43 2013
+++ plugins/language-support-python/org.gnome.anjuta.plugins.python.gschema.xml.in Sat Jun 1 01:38:00 2013
@@ -19,7 +19,7 @@
<default>true</default>
</key>
<key name="interpreter-path" type="s">
- <default>"/usr/bin/python"</default>
+ <default>"${MODPY_BIN}"</default>
</key>
</schema>
</schemalist>