summaryrefslogtreecommitdiff
path: root/ham/gnuradio-wxgui
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2006-11-24 14:25:36 +0000
committerwulf <wulf@pkgsrc.org>2006-11-24 14:25:36 +0000
commitdbd5eb9797d203fb6b53f71c6a79e59c2f448fb5 (patch)
treece1eb2ddc4483270009f948d49d5ca3c2aa9174d /ham/gnuradio-wxgui
parentc3c3b42290a7c16fdc97ce7a6d0dbff1a2d8a7a8 (diff)
downloadpkgsrc-dbd5eb9797d203fb6b53f71c6a79e59c2f448fb5.tar.gz
Use ${PYTHONBIN} to assign python executable.
This will fix build problem until next version of GNU Radio
Diffstat (limited to 'ham/gnuradio-wxgui')
-rw-r--r--ham/gnuradio-wxgui/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ham/gnuradio-wxgui/Makefile b/ham/gnuradio-wxgui/Makefile
index 273a760e9d7..ad5ed2d9e92 100644
--- a/ham/gnuradio-wxgui/Makefile
+++ b/ham/gnuradio-wxgui/Makefile
@@ -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/scopesink.py
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