[98739] trunk/dports/science/gnuradio-core
ryandesign at macports.org
ryandesign at macports.org
Sun Oct 14 00:00:03 PDT 2012
Revision: 98739
http://trac.macports.org//changeset/98739
Author: ryandesign at macports.org
Date: 2012-10-14 00:00:03 -0700 (Sun, 14 Oct 2012)
Log Message:
-----------
gnuradio-core: fix configure on Mountain Lion and up by applying the same fix that was already applied for Lion (#31238); blacklist clang (#36453)
Modified Paths:
--------------
trunk/dports/science/gnuradio-core/Portfile
trunk/dports/science/gnuradio-core/files/patch-configure.diff
Modified: trunk/dports/science/gnuradio-core/Portfile
===================================================================
--- trunk/dports/science/gnuradio-core/Portfile 2012-10-14 06:05:36 UTC (rev 98738)
+++ trunk/dports/science/gnuradio-core/Portfile 2012-10-14 07:00:03 UTC (rev 98739)
@@ -33,9 +33,12 @@
archcheck.files lib/libgruel.dylib
-# fix up configure to handle 10.7 correctly.
+# fix up configure to handle 10.7 and up correctly.
patchfiles patch-configure.diff
+# unknown directive .version "01.01"
+compiler.blacklist clang
+
configure.args --disable-all-components \
--with-gruel \
--enable-gnuradio-core
Modified: trunk/dports/science/gnuradio-core/files/patch-configure.diff
===================================================================
--- trunk/dports/science/gnuradio-core/files/patch-configure.diff 2012-10-14 06:05:36 UTC (rev 98738)
+++ trunk/dports/science/gnuradio-core/files/patch-configure.diff 2012-10-14 07:00:03 UTC (rev 98739)
@@ -1,49 +1,11 @@
---- configure.orig_up 2011-09-20 14:22:43.000000000 -0400
-+++ configure 2011-09-20 14:06:19.000000000 -0400
-@@ -20151,6 +20151,46 @@
- cf_with_md_cpu="x86_64"
- fi
- ;;
-+ *darwin*11*)
-+ # The cast to long int works around a bug in the HP C Compiler
-+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
-+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-+# This bug is HP SR number 8606223364.
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
-+$as_echo_n "checking size of void*... " >&6; }
-+if ${ac_cv_sizeof_voidp+:} false; then :
-+ $as_echo_n "(cached) " >&6
-+else
-+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
-+
-+else
-+ if test "$ac_cv_type_voidp" = yes; then
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-+as_fn_error 77 "cannot compute sizeof (void*)
-+See \`config.log' for more details" "$LINENO" 5; }
-+ else
-+ ac_cv_sizeof_voidp=0
-+ fi
-+fi
-+
-+fi
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
-+$as_echo "$ac_cv_sizeof_voidp" >&6; }
-+
-+
-+
-+cat >>confdefs.h <<_ACEOF
-+#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
-+_ACEOF
-+
-+
-+ if test "$ac_cv_sizeof_voidp" = 4; then
-+ cf_with_md_cpu="i386"
-+ else
-+ cf_with_md_cpu="x86_64"
-+ fi
-+ ;;
- *)
- cf_with_md_cpu="$host_cpu"
- ;;
+--- configure.orig 2010-06-03 01:58:15.000000000 -0500
++++ configure 2012-10-14 01:47:33.000000000 -0500
+@@ -19493,7 +19493,7 @@
+ cf_with_md_cpu="$host_cpu"
+ else
+ case "$host_os" in
+- *darwin*10*)
++ *darwin*1[0-9]*)
+ # The cast to long int works around a bug in the HP C Compiler
+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121014/c466d11a/attachment.html>
More information about the macports-changes
mailing list