From 150c67955d5df7bbe44047bedf9c4d46f8cd94f3 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Thu, 13 Apr 2006 17:53:11 +0000 Subject: This port now respects FFLAGS. PR: 95521 Submitted by: Pedro F. Giffuni --- math/blas/Makefile | 5 +++-- math/blas/files/makefile.lib | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'math/blas') diff --git a/math/blas/Makefile b/math/blas/Makefile index e06aa86d5367..7a6890043c78 100644 --- a/math/blas/Makefile +++ b/math/blas/Makefile @@ -20,7 +20,8 @@ COMMENT= Basic Linear Algebra, level 1, 2, and 3 INSTALLS_SHLIB= yes NO_WRKSUBDIR= yes -pre-build: - ${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile +do-configure: + @${INSTALL_DATA} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's+@FFLAGS@+${FFLAGS}+g' ${WRKSRC}/Makefile .include diff --git a/math/blas/files/makefile.lib b/math/blas/files/makefile.lib index c50b4fc8d889..001cdf3f08b0 100644 --- a/math/blas/files/makefile.lib +++ b/math/blas/files/makefile.lib @@ -1,6 +1,8 @@ # @(#)Makefile 5.7 (Berkeley) 6/27/91 +FFLAGS= @FFLAGS@ + LIBDIR= ${PREFIX}/lib -NOPROFILE= no +NO_PROFILE= no SHLIB_MAJOR= 1 -- cgit