[98592] trunk/dports/science/lammpi

ryandesign at macports.org ryandesign at macports.org
Tue Oct 9 07:48:42 PDT 2012


Revision: 98592
          http://trac.macports.org//changeset/98592
Author:   ryandesign at macports.org
Date:     2012-10-09 07:48:42 -0700 (Tue, 09 Oct 2012)
Log Message:
-----------
lammpi: update to 7.1.4; add patch to fix build with clang; add --without-cs-fs to hopefully ensure we build as if we are on a case-insensitive filesystem, even when we're not (i.e. on the buildbots)

Modified Paths:
--------------
    trunk/dports/science/lammpi/Portfile

Added Paths:
-----------
    trunk/dports/science/lammpi/files/
    trunk/dports/science/lammpi/files/patch-configure.diff

Modified: trunk/dports/science/lammpi/Portfile
===================================================================
--- trunk/dports/science/lammpi/Portfile	2012-10-09 14:23:37 UTC (rev 98591)
+++ trunk/dports/science/lammpi/Portfile	2012-10-09 14:48:42 UTC (rev 98592)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name		lammpi
-version		7.1.3
+version             7.1.4
 categories	science
 license		Restrictive/Distributable
 maintainers	nomaintainer
@@ -19,10 +19,18 @@
 master_sites	${homepage}/download/files/
 distname	lam-${version}
 use_bzip2	yes
-checksums	sha1 4a583308c0442eb46f4fd0abe7e26ea3e1fd4adb
 
-configure.args	--with-rsh="/usr/bin/ssh -x" --without-fc --mandir=${prefix}/share/man --sysconfdir=${prefix}/etc/${name}
+checksums           rmd160  6c9c6338391472d4cd2572c409cb92360e7fd799 \
+                    sha256  d66c205f57d9ffc38dbfb81faef8b586ef2b9e08853034c0472ef4ae45803d2e
 
+patchfiles          patch-configure.diff
+
+configure.args      --mandir=${prefix}/share/man \
+                    --sysconfdir=${prefix}/etc/${name} \
+                    --with-rsh="/usr/bin/ssh -x" \
+                    --without-cs-fs \
+                    --without-fc
+
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
 livecheck.regex     lam-(\[0-9.\]+)${extract.suffix}

Added: trunk/dports/science/lammpi/files/patch-configure.diff
===================================================================
--- trunk/dports/science/lammpi/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/science/lammpi/files/patch-configure.diff	2012-10-09 14:48:42 UTC (rev 98592)
@@ -0,0 +1,65 @@
+--- configure.orig	2007-07-24 20:00:24.000000000 -0500
++++ configure	2012-10-09 09:32:00.000000000 -0500
+@@ -4460,7 +4460,7 @@
+ extern "C" {
+ void exit(int);
+ #endif
+-int main(int argc, char* argv)
++int main(int argc, char* argv[])
+ {
+     FILE *f=fopen("conftestval", "w");
+ #ifndef __STDC__
+@@ -7894,7 +7894,7 @@
+ cat > conftest.cc <<EOF
+ #include <new>
+ 
+-int main(int argc, char* argv) {
++int main(int argc, char* argv[]) {
+   int *baz;
+   unsigned int foo = 3;
+   baz = new(std::nothrow) int;
+@@ -8680,7 +8680,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ 
+-int main(int argc, char* argv) {
++int main(int argc, char* argv[]) {
+   bool foo = (bool) 0;
+   printf("so foo is used and the compiler wont complain: %d", (int) foo);
+   return 0;
+@@ -8754,7 +8754,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ 
+-int main(int argc, char* argv) {
++int main(int argc, char* argv[]) {
+   int foo;
+   foo = (int) true;
+   foo = (int) false;
+@@ -22736,7 +22736,7 @@
+ #include <sys/resource.h>
+ #include <unistd.h>
+ int
+-main(int argc, char* argv)
++main(int argc, char* argv[])
+ {
+   int fd = 0;
+   struct rlimit rlp;
+@@ -22823,7 +22823,7 @@
+ #include <sys/select.h>
+ #endif
+ int
+-main(int argc, char* argv)
++main(int argc, char* argv[])
+ {
+   int ret;
+   fd_set fds;
+@@ -42465,7 +42465,7 @@
+ EOF
+     cat > conftest.c <<EOF
+ extern int foo(void);
+-int main(int argc, char* argv) { return foo(); }
++int main(int argc, char* argv[]) { return foo(); }
+ EOF
+ 
+     ../libtool --mode=compile $CC foo.c -o foo.lo -c > /dev/null 2>&1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121009/17aebd32/attachment.html>


More information about the macports-changes mailing list