Date: Thu, 13 Oct 2005 15:26:01 +0200 From: Christopher Illies <christopher.illies@ki.se> To: freebsd-ports@freebsd.org Subject: 6.0: math/lapack fails with NO_PROFILE (fix) Message-ID: <20051013132601.GA57837@Klabautermann.ks.se>
next in thread | raw e-mail | index | archive | help
On my FreeBSD 6.0 system math/lapack fails to install while I have NO_PROFILE=true set in /etc/make.conf. Obviously the follwing patch fixes this problem on my system: --- /usr/ports/math/lapack/Makefile.orig Thu Oct 13 14:47:16 2005 +++ /usr/ports/math/lapack/Makefile Thu Oct 13 14:47:35 2005 @@ -215,7 +215,7 @@ @${ECHO} "Set ENABLE_TESTING to YES to enable testing and timing." .endif pre-install: -.if !defined(NOPROFILE) +.if !defined(NO_PROFILE) @${CAT} ${PKGDIR}/pkg-plist > ${PLIST} .else @${SED} -e /_p.a/d ${PKGDIR}/pkg-plist > ${PLIST} @@ -224,7 +224,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib -.if !defined(NOPROFILE) +.if !defined(NO_PROFILE) ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas_p.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack_p.a ${PREFIX}/lib .endif I seem to remember that the change from NOPROFILE to NO_PROFILE was a recent change that does not apply to all versions of FreeBSD. What would be the correct way to do this? TIA, Christopher please cc me for quicker response!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051013132601.GA57837>