summaryrefslogtreecommitdiff
path: root/math/atlas
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-06-30 19:19:43 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-06-30 19:19:43 +0000
commitec1bf0f1b0a97df910e0c8a57740512364477b83 (patch)
tree1da3b3d2a669ee475335e7b62421c9eb35858550 /math/atlas
parentAdd dependency for gmake (diff)
update to 3.5.5
Submitted by: Thomas Gellekum <Thomas.Gellekum@gmx.de>
Notes
Notes: svn path=/head/; revision=83923
Diffstat (limited to 'math/atlas')
-rw-r--r--math/atlas/Makefile9
-rw-r--r--math/atlas/distinfo2
-rw-r--r--math/atlas/files/patch-config.c30
3 files changed, 20 insertions, 21 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index 70a2305bf00c..9132ed4c341d 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -9,8 +9,7 @@
# Program and compiler flags are finetuned to gcc 2.95/3.1.
PORTNAME= atlas
-PORTVERSION= 3.5.2
-PORTREVISION= 1
+PORTVERSION= 3.5.5
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= math-atlas
@@ -32,11 +31,11 @@ USE_GCC= 3.1
post-patch:
@${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+ ${PTHREAD_CFLAGS}+' \
- ${WRKSRC}/config.c
+ ${WRKSRC}/config.c
@${REINPLACE_CMD} -e 's+%%PTHREAD_LIBS%%+ ${PTHREAD_LIBS}+' \
- ${WRKSRC}/config.c
+ ${WRKSRC}/config.c
.if !defined(USE_THREADS)
- @${ECHO_MSG} "make USE_THREADS=yes for threaded version"
+ @${ECHO_MSG} "make USE_THREADS=yes for force to make threaded version"
.else
@(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/thread-patch)
.endif
diff --git a/math/atlas/distinfo b/math/atlas/distinfo
index ead55521ea8d..4adfd20da39a 100644
--- a/math/atlas/distinfo
+++ b/math/atlas/distinfo
@@ -1 +1 @@
-MD5 (atlas3.5.2.tar.bz2) = 364f166e4ca73d58bcce08559f413ac5
+MD5 (atlas3.5.5.tar.bz2) = d4acbc5e79cde224d60fa452f741c686
diff --git a/math/atlas/files/patch-config.c b/math/atlas/files/patch-config.c
index 32482f8625e0..84e0fee4d10f 100644
--- a/math/atlas/files/patch-config.c
+++ b/math/atlas/files/patch-config.c
@@ -1,15 +1,15 @@
---- config.c.orig Sun May 4 06:09:23 2003
-+++ config.c Wed Jun 11 12:01:08 2003
-@@ -697,7 +697,7 @@
- else if (mach == IA64Itan || MachIsUS(mach) ||
- mach == Dec21164 || mach == Dec21264)
- {
-- if (major == 3)
-+ if ((major == 2 && minor < 96) || (major == 3)) /* Nasty hack for FreeBSD/Alpha STABLE */
+--- config.c.orig Mon Jun 23 00:58:35 2003
++++ config.c Sat Jun 28 16:44:25 2003
+@@ -708,7 +708,7 @@
+ else if (mach == IA64Itan || MachIsUS(mach) ||
+ mach == Dec21164 || mach == Dec21264)
{
- strcpy(goodgcc, files[i]);
- return(0);
-@@ -1102,7 +1102,9 @@
+- if (major == 3)
++ if ((major == 2 && minor < 96) || (major == 3)) /* Nasty hack for FreeBSD/Alpha STABLE */
+ {
+ strcpy(goodgcc, files[i]);
+ return(0);
+@@ -1114,7 +1114,9 @@
switch(OS)
{
case OSOSX: /* don't know answer */
@@ -20,7 +20,7 @@
case OSLinux:
break;
case OSSunOS:
-@@ -1240,6 +1242,11 @@
+@@ -1252,6 +1254,11 @@
"-mcpu=ultrasparc -mtune=ultrasparc -fomit-frame-pointer -O3");
}
if (OS == OSFreeBSD && F77) strcpy(F77, "f77");
@@ -32,7 +32,7 @@
break;
case OSSunOS:
np = 3;
-@@ -2104,7 +2111,10 @@
+@@ -2116,7 +2123,10 @@
if (!CmndOneLine(targ, "sysctl hw.model", ln))
{
if (strstr(ln, "433au")) mach = Dec21164;
@@ -43,7 +43,7 @@
}
break;
case LAIA64: /* don't know */
-@@ -2113,14 +2123,22 @@
+@@ -2125,14 +2135,22 @@
if (!CmndOneLine(targ, "sysctl hw.model", ln))
{
if (strstr(ln, "Pentium Pro")) mach = IntPPRO;
@@ -66,7 +66,7 @@
}
break;
default:;
-@@ -3124,6 +3142,9 @@
+@@ -3136,6 +3154,9 @@
}
if (USEWINF77) strcpy(F77, "$(BINdir)/winf77.exe");