pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/gnuradio-wxgui Use ${PYTHONBIN} to assign python e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/154060a448fc
branches:  trunk
changeset: 521839:154060a448fc
user:      wulf <wulf%pkgsrc.org@localhost>
date:      Fri Nov 24 14:25:36 2006 +0000

description:
Use ${PYTHONBIN} to assign python executable.
This will fix build problem until next version of GNU Radio

diffstat:

 ham/gnuradio-wxgui/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f84bf6446a6f -r 154060a448fc ham/gnuradio-wxgui/Makefile
--- a/ham/gnuradio-wxgui/Makefile       Fri Nov 24 13:02:48 2006 +0000
+++ b/ham/gnuradio-wxgui/Makefile       Fri Nov 24 14:25:36 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/11/13 17:45:09 wulf Exp $
+# $NetBSD: Makefile,v 1.11 2006/11/24 14:25:36 wulf Exp $
 
 PKGNAME=       gnuradio-wxgui-${VERSION}
 COMMENT=       GUI framework for GNU Radio based on wxPython
@@ -10,6 +10,12 @@
 PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/slider.py
 PYTHON_PATCH_SCRIPTS+= gr-wxgui/src/python/waterfallsink.py
 
+SUBST_CLASSES+=                py-exec
+SUBST_STAGE.py-exec=   pre-configure
+SUBST_MESSAGE.py-exec= Fixing python exec name
+SUBST_FILES.py-exec=   configure
+SUBST_SED.py-exec=     -e 's,python -c,${PYTHONBIN} -c,g'
+
 .include "../../meta-pkgs/gnuradio/Makefile.common"
 
 CONF_FILES+=    ${EGDIR}/gr-wxgui.conf ${PKG_SYSCONFDIR}/gr-wxgui.conf



Home | Main Index | Thread Index | Old Index