aboutsummaryrefslogtreecommitdiffstats
path: root/math/arpack
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-09-29 02:00:24 +0800
committerbf <bf@FreeBSD.org>2011-09-29 02:00:24 +0800
commit94a7af2d453f282ea6b6fcdf430d5f18d91a1fd4 (patch)
tree4159e72f7410b83ccaf1b2670a5047e7930702fa /math/arpack
parent2564fddbc09212fe6e855ecf145bbd7c98f50732 (diff)
downloadfreebsd-ports-gnome-94a7af2d453f282ea6b6fcdf430d5f18d91a1fd4.tar.gz
freebsd-ports-gnome-94a7af2d453f282ea6b6fcdf430d5f18d91a1fd4.tar.zst
freebsd-ports-gnome-94a7af2d453f282ea6b6fcdf430d5f18d91a1fd4.zip
fix the objcopy renaming by adding a forgotten correction
to account for gfortran*'s default use of -funderscoring [1]; fix the check for math/atlas* shared libraries PR: 159129 [1] Submitted by: E. Shibusawa (slightly different patch) [1]
Diffstat (limited to 'math/arpack')
-rw-r--r--math/arpack/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/arpack/Makefile b/math/arpack/Makefile
index 8391e5739c42..7214c96ccef0 100644
--- a/math/arpack/Makefile
+++ b/math/arpack/Makefile
@@ -7,7 +7,7 @@
PORTNAME= arpack
PORTVERSION= 96
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= math
MASTER_SITES= http://www.caam.rice.edu/software/ARPACK/SRC/
DISTFILES= ${PORTNAME}${PORTVERSION}.tar.gz patch.tar.gz
@@ -70,7 +70,7 @@ SYMTESTS= ssdrv1 ssdrv2 ssdrv3 ssdrv4 ssdrv5 ssdrv6 \
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libatlas_r.so)
+.if exists(${LOCALBASE}/lib/libatlas.so)
WITH_BLAS?= atlas
.else
WITH_BLAS?= reference
@@ -121,7 +121,7 @@ post-patch:
toupper($$i), "ARPACK_", toupper($$i), "#define", $$i, \
"ARPACK_", toupper($$i) \
> "${WRKDIR}/arpack_compat_f.h" ; \
- printf "%s%s%s\n", $$i, " arpack_", $$i \
+ printf "%s%s%s%s\n", $$i, "_ arpack_", $$i, "_" \
> "${WRKDIR}/rename" } } ; \
END { print "\n#endif" > "${WRKDIR}/arpack_compat_c.h" ; \
print "\n#endif" > "${WRKDIR}/arpack_compat_f.h" }' -