mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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]
This commit is contained in:
parent
dd5670f4cd
commit
cf8f9ea4bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282577
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= arpack
|
PORTNAME= arpack
|
||||||
PORTVERSION= 96
|
PORTVERSION= 96
|
||||||
PORTREVISION= 9
|
PORTREVISION= 10
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
MASTER_SITES= http://www.caam.rice.edu/software/ARPACK/SRC/
|
MASTER_SITES= http://www.caam.rice.edu/software/ARPACK/SRC/
|
||||||
DISTFILES= ${PORTNAME}${PORTVERSION}.tar.gz patch.tar.gz
|
DISTFILES= ${PORTNAME}${PORTVERSION}.tar.gz patch.tar.gz
|
||||||
|
@ -70,7 +70,7 @@ SYMTESTS= ssdrv1 ssdrv2 ssdrv3 ssdrv4 ssdrv5 ssdrv6 \
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if exists(${LOCALBASE}/lib/libatlas_r.so)
|
.if exists(${LOCALBASE}/lib/libatlas.so)
|
||||||
WITH_BLAS?= atlas
|
WITH_BLAS?= atlas
|
||||||
.else
|
.else
|
||||||
WITH_BLAS?= reference
|
WITH_BLAS?= reference
|
||||||
|
@ -121,7 +121,7 @@ post-patch:
|
||||||
toupper($$i), "ARPACK_", toupper($$i), "#define", $$i, \
|
toupper($$i), "ARPACK_", toupper($$i), "#define", $$i, \
|
||||||
"ARPACK_", toupper($$i) \
|
"ARPACK_", toupper($$i) \
|
||||||
> "${WRKDIR}/arpack_compat_f.h" ; \
|
> "${WRKDIR}/arpack_compat_f.h" ; \
|
||||||
printf "%s%s%s\n", $$i, " arpack_", $$i \
|
printf "%s%s%s%s\n", $$i, "_ arpack_", $$i, "_" \
|
||||||
> "${WRKDIR}/rename" } } ; \
|
> "${WRKDIR}/rename" } } ; \
|
||||||
END { print "\n#endif" > "${WRKDIR}/arpack_compat_c.h" ; \
|
END { print "\n#endif" > "${WRKDIR}/arpack_compat_c.h" ; \
|
||||||
print "\n#endif" > "${WRKDIR}/arpack_compat_f.h" }' -
|
print "\n#endif" > "${WRKDIR}/arpack_compat_f.h" }' -
|
||||||
|
|
Loading…
Add table
Reference in a new issue