summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-08-24 05:33:04 +0000
committerhasso <hasso@pkgsrc.org>2009-08-24 05:33:04 +0000
commit4eec27040b791dde9506d196e60b0d43cab3a11a (patch)
tree017263f4744ca774b29be973ed00e370d3973e58
parentf663ea8a9b5cec35b862625ec6318fbc6525e5cc (diff)
downloadpkgsrc-4eec27040b791dde9506d196e60b0d43cab3a11a.tar.gz
Workaround for the problem where the configure scripts attempts to use a
fortran compiler to test usability of the Python.h and obviously fails. Happens on DragonFly, but doesn't NetBSD.
-rw-r--r--ham/gnuradio-core/distinfo3
-rw-r--r--ham/gnuradio-core/patches/patch-ab21
2 files changed, 23 insertions, 1 deletions
diff --git a/ham/gnuradio-core/distinfo b/ham/gnuradio-core/distinfo
index 32bc0718436..b23612f4d4b 100644
--- a/ham/gnuradio-core/distinfo
+++ b/ham/gnuradio-core/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2009/08/12 12:21:39 markd Exp $
+$NetBSD: distinfo,v 1.12 2009/08/24 05:33:04 hasso Exp $
SHA1 (gnuradio-3.2.tar.gz) = 3d7e177a57f8c40ec5ac95161f06097872aef1ba
RMD160 (gnuradio-3.2.tar.gz) = 9d36dc6427eaf59795c8d4853764d5a526cfbce8
Size (gnuradio-3.2.tar.gz) = 6864952 bytes
SHA1 (patch-aa) = 08c9b0fc725bcb2f6795445cbd64af431f9ce9a1
+SHA1 (patch-ab) = f7db7741c27b3dd32eb104637b537b304234d12c
diff --git a/ham/gnuradio-core/patches/patch-ab b/ham/gnuradio-core/patches/patch-ab
new file mode 100644
index 00000000000..b068f38f584
--- /dev/null
+++ b/ham/gnuradio-core/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.5 2009/08/24 05:33:04 hasso Exp $
+
+--- config/gr_python.m4.orig 2009-08-23 23:30:58 +0300
++++ config/gr_python.m4 2009-08-23 23:32:15 +0300
+@@ -36,6 +36,8 @@ AC_DEFUN([PYTHON_DEVEL],[
+ # if we're cross-compiling, asking the host python about any of
+ # this is completely useless...
+
++ AC_LANG_PUSH([C])
++
+ if test x$cross_compiling != xno
+ then
+ pythondir=$with_pythondir
+@@ -124,6 +126,7 @@ print path
+ esac
+
+ AC_SUBST(PYTHON_LDFLAGS)
++ AC_LANG_POP
+ fi
+ ])
+