Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 09:52:41 +0200 (CEST)
From:      Christopher Illies <christopher.illies@ki.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87429: [patch] math/lapack fails to install with NO_PROFILE set on FreeBSD=>6.0
Message-ID:  <20051014075241.4378AC132@Klabautermann.ks.se>
Resent-Message-ID: <200510140750.j9E7oJw6052245@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87429
>Category:       ports
>Synopsis:       [patch] math/lapack fails to install with NO_PROFILE set on FreeBSD=>6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 07:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Illies
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD Klabautermann.ks.se 6.0-RC1 FreeBSD 6.0-RC1 #19: Wed Oct 12 02:23:33 CEST 2005 root@Klabautermann.ks.se:/usr/obj/usr/src/sys/CUSTOM i386

	
>Description:
math/lapack fails to install on FreeBSD => 6.0 when NO_PROFILE is set.
The Makefile only recognises NOPROFILE.

	
>How-To-Repeat:
have: NO_PROFILE=true in /etc/make.conf
cd /usr/ports/math/lapack; make install
	
>Fix:

apply this patch to math/lapack/Makefile

--- Makefile.orig	Thu Oct 13 14:47:16 2005
+++ Makefile	Fri Oct 14 09:34:22 2005
@@ -209,13 +209,17 @@
 
 CONFIGURE_ENV+=	OSVERSION=${OSVERSION}
 
+.if ${OSVERSION} < 600000 && defined(NOPROFILE)
+NO_PROFILE= true
+.endif
+
 pre-fetch:
 	@${ECHO} "You can override FC and FFLAGS on the command line."
 .if !defined(ENABLE_TESTING) || ${ENABLE_TESTING} != "YES"
 	@${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 +228,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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051014075241.4378AC132>