[110150] trunk/dports/lang/adaptor/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Aug 27 09:45:26 PDT 2013
Revision: 110150
https://trac.macports.org/changeset/110150
Author: jeremyhu at macports.org
Date: 2013-08-27 09:45:26 -0700 (Tue, 27 Aug 2013)
Log Message:
-----------
adaptor: Add some notes before removal
Modified Paths:
--------------
trunk/dports/lang/adaptor/Portfile
Modified: trunk/dports/lang/adaptor/Portfile
===================================================================
--- trunk/dports/lang/adaptor/Portfile 2013-08-27 16:41:13 UTC (rev 110149)
+++ trunk/dports/lang/adaptor/Portfile 2013-08-27 16:45:26 UTC (rev 110150)
@@ -21,6 +21,23 @@
sha1 6bbcb22e32afbc26a1f3f59ef963a8213c377180 \
rmd160 97cb37a397f68bae98853b11413b867b3d400efa
+# openmpi is not universal
+universal_variant no
+
+# TODO: Even with these changes, the build still fails at:
+# C.lalr:1568:56: error: passing 'tPosition' to parameter of incompatible type 'int'
+# blacklisting clang, but due to the length of time this port has been broken, I doubt it's
+# even used. We should probably remove this port.
+compiler.blacklist *clang*
+
+# TODO: The error we are bypassing is revealing a real error that we should fix properly.
+if {[string match "*clang*" ${configure.compiler}]} {
+ configure.cflags-append -Wno-return-type -std=gnu89
+}
+
+# TODO: Even with the above, this port still fails to build on Lion+ due to openmpi defining
+# OPAL_HAVE_ATTRIBUTE_DEPRECATED_ARGUMENT=1 based on the compiler *it* used (clang)
+
depends_lib port:openmpi port:libtool
configure.env F77_OPT=-O3 F77_MP="" THR_LIB=-lpthread \
F77_OPENMP=-fopenmp THR_LIB=-lpthread \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130827/448c96dc/attachment.html>
More information about the macports-changes
mailing list