From owner-freebsd-ports@FreeBSD.ORG Thu Oct 13 16:09:09 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 1AC3C16A41F for ; Thu, 13 Oct 2005 16:09:09 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C3EE43D46 for ; Thu, 13 Oct 2005 16:09:08 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id t15so253009wxc for ; Thu, 13 Oct 2005 09:09:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P1M76JScK2kL1TXrBOLQq1FODm8CqMv6JSd1LBqwhZQBQ3rmIMbfwaGFsfHu5YD3okOZthhh/fLQWQDnmSPbvY1HCl8S777jB8tvsgPOB2wuWpIqJzDRpocQujHVrkW/xN7sdvVBWnDtQ5SHNSgecdwG0is2tjGR89QFkgoEMIw= Received: by 10.70.115.9 with SMTP id n9mr754908wxc; Thu, 13 Oct 2005 09:02:04 -0700 (PDT) Received: by 10.70.53.4 with HTTP; Thu, 13 Oct 2005 09:02:04 -0700 (PDT) Message-ID: <790a9fff0510130902h3b98df6mb56408a9638399a1@mail.gmail.com> Date: Thu, 13 Oct 2005 11:02:04 -0500 From: Scot Hetzel To: Christopher Illies , freebsd-ports@freebsd.org In-Reply-To: <20051013132601.GA57837@Klabautermann.ks.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051013132601.GA57837@Klabautermann.ks.se> Cc: Subject: Re: 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 16:09:09 -0000 On 10/13/05, Christopher Illies wrote: > On my FreeBSD 6.0 system math/lapack fails to install while I have > NO_PROFILE=3Dtrue 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? > Try adding this to the port: .if ${OSVERSION} < 600000 && defined(NOPROFILE) NO_PROFILE=3D true .endif Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.