ports/97613: [PATCH] math/blas: use NO* (instead of NO_*) on old system

Rong-En Fan rafan at infor.org
Mon May 22 14:20:39 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list