From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 13:22:51 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0FAF16A41F for ; Thu, 13 Oct 2005 13:22:50 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from humle.it.ki.se (humle.it.ki.se [130.237.101.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E9743D7C for ; Thu, 13 Oct 2005 13:22:43 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from Klabautermann.ks.se (gate2.ks.se [193.10.63.101]) by humle.it.ki.se (8.13.1/8.13.1) with ESMTP id j9DDMdt9027803 for ; Thu, 13 Oct 2005 15:22:40 +0200 (MEST) Received: by Klabautermann.ks.se (Postfix, from userid 1001) id ED545C132; Thu, 13 Oct 2005 15:26:01 +0200 (CEST) Date: Thu, 13 Oct 2005 15:26:01 +0200 From: Christopher Illies To: freebsd-ports@freebsd.org Message-ID: <20051013132601.GA57837@Klabautermann.ks.se> Mail-Followup-To: Christopher Illies , freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 6.0: math/lapack fails with NO_PROFILE (fix) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 13:22:51 -0000 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!