summaryrefslogtreecommitdiff
path: root/science/cdf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-02-03 21:42:30 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-02-03 21:42:30 +0000
commitaeb6050c2241e085aa8838ec56d8ebe383dadf83 (patch)
tree30e2a7465402b8e121f1af63361463c0575d0968 /science/cdf
parentAdd autoconf:213 to satisfy :configure target (diff)
- The official download site is down, add a mirror.
- Try to fix on sparc64. Reported by: pointyhat via Kris
Notes
Notes: svn path=/head/; revision=155159
Diffstat (limited to 'science/cdf')
-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
+