Honor CFLAGS, CC and so on.
This commit is contained in:
parent
33c9dc83a8
commit
7a36177227
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82716
@ -31,6 +31,14 @@ BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+' \
|
||||
${WRKSRC}/make.inc
|
||||
@${REINPLACE_CMD} -e 's+%%CC%%+${CC}+' \
|
||||
${WRKSRC}/make.inc
|
||||
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+' \
|
||||
${WRKSRC}/make.inc
|
||||
@${REINPLACE_CMD} -e 's+%%CFLAGS%%+${CFLAGS}+' \
|
||||
${WRKSRC}/make.inc
|
||||
@${REINPLACE_CMD} -e 's+%%FFLAGS%%+${FFLAGS}+' \
|
||||
${WRKSRC}/make.inc
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib
|
||||
|
Loading…
Reference in New Issue
Block a user