[128675] trunk/dports/lang/omnicompiler
takeshi at macports.org
takeshi at macports.org
Mon Nov 24 23:26:26 PST 2014
Revision: 128675
https://trac.macports.org/changeset/128675
Author: takeshi at macports.org
Date: 2014-11-24 23:26:26 -0800 (Mon, 24 Nov 2014)
Log Message:
-----------
omnicompiler: use MacPorts base64 and remove CR in checkCpp in configure for Snow Leopard. In spite of the fix omnicompiler does not build on i386, restricting to x86_64 in supported_archs
Modified Paths:
--------------
trunk/dports/lang/omnicompiler/Portfile
trunk/dports/lang/omnicompiler/files/patch-configure.diff
Modified: trunk/dports/lang/omnicompiler/Portfile
===================================================================
--- trunk/dports/lang/omnicompiler/Portfile 2014-11-25 06:27:01 UTC (rev 128674)
+++ trunk/dports/lang/omnicompiler/Portfile 2014-11-25 07:26:26 UTC (rev 128675)
@@ -19,6 +19,12 @@
linked with the Omni Compiler runtime library.
homepage http://omni-compiler.org
platforms darwin
+# Following error occurs on i386 systems
+# In file included from ompc_thread.c:31:0:
+# ompclib.h:209:14: error: size of array '_padding' is too large
+# char _padding[CACHE_LINE_SIZE-sizeof(int)-sizeof(any_type)];
+# ^
+supported_archs x86_64
master_sites sourceforge:xcalablemp
checksums rmd160 94c68eeeebd65e41098c0cb7facdfba59c1e7868 \
@@ -34,7 +40,8 @@
depends_build port:apache-ant \
port:bison \
port:flex \
- port:coreutils
+ port:coreutils \
+ bin:base64:base64
depends_lib port:gmp \
port:libxml2
Modified: trunk/dports/lang/omnicompiler/files/patch-configure.diff
===================================================================
--- trunk/dports/lang/omnicompiler/files/patch-configure.diff 2014-11-25 06:27:01 UTC (rev 128674)
+++ trunk/dports/lang/omnicompiler/files/patch-configure.diff 2014-11-25 07:26:26 UTC (rev 128675)
@@ -1,5 +1,5 @@
---- configure.orig 2014-11-23 10:17:23.000000000 +0900
-+++ configure 2014-11-23 18:50:34.000000000 +0900
+--- configure.orig 2014-11-14 11:17:57.000000000 +0900
++++ configure 2014-11-25 16:13:59.000000000 +0900
@@ -25150,7 +25150,7 @@
$as_echo "can't find ${gmpInclude}/gmp.h. exit." >&6; }
exit 1
@@ -9,3 +9,12 @@
if test "x${gmpLibs}" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find ${gmpLib}/libgmp.*. exit." >&5
$as_echo "can't find ${gmpLib}/libgmp.*. exit." >&6; }
+@@ -26118,7 +26118,7 @@
+ __ret=1
+ __tmpFileBase=/tmp/.cpptest.$$
+ __tmpFile=${__tmpFileBase}.F90
+- __data=`date | base64 2>/dev/null`
++ __data=`date | base64 2>/dev/null | tr -d '\r'`
+ echo "#ifdef __XMP_CPP_CHECK__" > ${__tmpFile}
+ echo ${__data} >> ${__tmpFile}
+ echo "#endif" >> ${__tmpFile}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141124/b1cf507e/attachment.html>
More information about the macports-changes
mailing list