aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-06-11 07:51:35 +0800
committermaho <maho@FreeBSD.org>2003-06-11 07:51:35 +0800
commitbc2ce1cdb3cfd79fd35085a79d142f79c6633dbe (patch)
tree36cc7e80996f078d868d524c178bf78ebe285e18 /math
parenta8b28b76bdf7a811d6fb2612c656b4a1be440478 (diff)
downloadfreebsd-ports-graphics-bc2ce1cdb3cfd79fd35085a79d142f79c6633dbe.tar.gz
freebsd-ports-graphics-bc2ce1cdb3cfd79fd35085a79d142f79c6633dbe.tar.zst
freebsd-ports-graphics-bc2ce1cdb3cfd79fd35085a79d142f79c6633dbe.zip
Honor CFLAGS, CC and so on.
Diffstat (limited to 'math')
-rw-r--r--math/superlu/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index d18bffaefa5..ba7147685cd 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -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