pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/gnuradio-core Workaround for the problem where the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f07a6eb6d231
branches:  trunk
changeset: 398110:f07a6eb6d231
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Mon Aug 24 05:33:04 2009 +0000

description:
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.

diffstat:

 ham/gnuradio-core/distinfo         |   3 ++-
 ham/gnuradio-core/patches/patch-ab |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 036dfcd71ded -r f07a6eb6d231 ham/gnuradio-core/distinfo
--- a/ham/gnuradio-core/distinfo        Mon Aug 24 00:09:01 2009 +0000
+++ b/ham/gnuradio-core/distinfo        Mon Aug 24 05:33:04 2009 +0000
@@ -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 -r 036dfcd71ded -r f07a6eb6d231 ham/gnuradio-core/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-ab        Mon Aug 24 05:33:04 2009 +0000
@@ -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
+ ])
+ 



Home | Main Index | Thread Index | Old Index