From cf8f9ea4bf83437f39850b027bb5adf14b4d77f5 Mon Sep 17 00:00:00 2001 From: Brendan Fabeny Date: Wed, 28 Sep 2011 18:00:24 +0000 Subject: [PATCH] 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] --- math/arpack/Makefile | 6 +++--- 1 file 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 -.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" }' -