Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 22:17:18 +0800 (CST)
From:      Rong-En Fan <rafan@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97613: [PATCH] math/blas: use NO* (instead of NO_*) on old system
Message-ID:  <200605221417.k4MEHIGR030873@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200605221420.k4MEKRAi049648@freefall.freebsd.org>

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

>Number:         97613
>Category:       ports
>Synopsis:       [PATCH] math/blas: use NO* (instead of NO_*) on old system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 22 14:20:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
NTU CSIE
>Environment:
>Description:
In Apr 13's commit (PR 95521), NOPROFILE -> NO_PROFILE.
However, this only applied to FreeBSD after Dec 21, 2004, when NO* -> NO_*
conversion happens, bsd.compat.mk was added. 

This results incomplete pkg-plist for 4.x (a profiled library is built and
installed). For more details please read PR 96420 (fix similar problem for
graphics/png):

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96420

>From portsmon's port summary (portoverview), there is no build error
for this port, so I dont bump PORTREVISION.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- blas-1.0.patch begins here ---
Binary files /usr/ports/math/blas/blas-1.0_1.tbz and /home/rafan/tmp/ports/blas/blas-1.0_1.tbz differ
diff -ruN --exclude=CVS /usr/ports/math/blas/files/makefile.lib /home/rafan/tmp/ports/blas/files/makefile.lib
--- /usr/ports/math/blas/files/makefile.lib	Sat Apr 15 04:07:33 2006
+++ /home/rafan/tmp/ports/blas/files/makefile.lib	Mon May 22 20:43:30 2006
@@ -2,7 +2,11 @@
 FFLAGS=	@FFLAGS@
 
 LIBDIR= ${PREFIX}/lib
+.if (${OSVERSION} > 600007)
 NO_PROFILE= no
+.else
+NOPROFILE= no
+.endif
 
 SHLIB_MAJOR= 1
 
--- blas-1.0.patch ends here ---

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



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