aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/cdf/Makefile3
-rw-r--r--science/cdf/files/patch-src_include_cdfdist.h13
2 files changed, 13 insertions, 3 deletions
diff --git a/science/cdf/Makefile b/science/cdf/Makefile
index 464c58d5417d..629b8f023dc9 100644
--- a/science/cdf/Makefile
+++ b/science/cdf/Makefile
@@ -9,7 +9,8 @@ PORTNAME= cdf3
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= science
-MASTER_SITES= http://windsor.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/
+MASTER_SITES= ftp://nssdcftp.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/ \
+ http://windsor.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/
DISTNAME= cdf${VER}-dist-cdf
MAINTAINER= thierry@FreeBSD.org
diff --git a/science/cdf/files/patch-src_include_cdfdist.h b/science/cdf/files/patch-src_include_cdfdist.h
index 3d80fa52a8cf..acf89f3c8525 100644
--- a/science/cdf/files/patch-src_include_cdfdist.h
+++ b/science/cdf/files/patch-src_include_cdfdist.h
@@ -1,5 +1,5 @@
---- ./src/include/cdfdist.h.orig Mon Jul 11 23:50:59 2005
-+++ ./src/include/cdfdist.h Fri Jan 27 22:06:09 2006
+--- src/include/cdfdist.h.orig Mon Jan 30 20:05:49 2006
++++ src/include/cdfdist.h Tue Jan 31 22:26:02 2006
@@ -101,7 +101,7 @@
# define unix
#endif
@@ -28,3 +28,12 @@
# define FOPEN64 fopen
# else
# define FOPEN64 fopen64
+@@ -513,7 +514,7 @@
+ *****************************************************************************/
+
+ #if defined(sun) || defined(MIPSEB) || defined(IBMRS) || defined(HP) || \
+- defined(NeXT) || defined(mac) || defined(POWERPC)
++ defined(NeXT) || defined(mac) || defined(POWERPC) || defined(__sparc64__)
+ # define FP1cpu
+ #endif
+