math/lapack: fix post-patch target for math/atlas
When upgrading this port, I previously merged the post-patch with the pre-configure target, and it was a mistake. The patch target is used from math/atlas, and make.inc is needed. PR: 257122 Reported by: alt2600 (at) icloud.com MFH: 2021Q3
This commit is contained in:
parent
94e419b201
commit
b7eec409d5
@ -81,7 +81,7 @@ PLIST_SUB+= BLAS="@comment " CBLAS="@comment " LAPACK="" XLAPACK="@comment " LA
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-configure:
|
||||
post-patch:
|
||||
${SED} -Ee '\
|
||||
s@^(FORTRAN|LOADER)([[:blank:]]*=)(.*)@\1\2 $${FC}@; \
|
||||
s@^(OPTS[[:blank:]]*=)(.*)@\1 $${FFLAGS} $${EXTRAFLAGS}@; \
|
||||
@ -94,6 +94,8 @@ pre-configure:
|
||||
s@^(LDFLAGS[[:blank:]]*=)(.*)@@; \
|
||||
\@(BLAS|LAPACKE|RAN)LIB[[:blank:]]*=@d;' \
|
||||
${WRKSRC}/make.inc.example > ${WRKSRC}/make.inc
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's@\./lapack_testing\.py@${S} &@' \
|
||||
${WRKSRC}/Makefile
|
||||
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
|
||||
|
Loading…
Reference in New Issue
Block a user