ports/112429: [patch] math/py-numpy incorrect post-patch for site-cfg

Li-Lun Wang (Leland Wang) llwang at infor.org
Sat May 5 02:10:05 UTC 2007


>Number:         112429
>Category:       ports
>Synopsis:       [patch] math/py-numpy incorrect post-patch for site-cfg
>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:   Sat May 05 02:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Lun Wang (Leland Wang)
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD Athena.infor.org 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #6: Sat Apr 21 18:41:16 CST 2007 root at Athena.infor.org:/usr/obj/usr/src/sys/Athena i386


	
>Description:
The test for WITH_ATLAS condition in post-patch to decide how to patch
site.cfg is incorrect.  The patch for .ifdef WITH_ATLAS should go to
.else, and vice versa.

- Correct the patch for site.cfg in post-patch
- Bump PORTREVISION
- Maintainer CC'd

Modified file:
  math/py-numpy	Makefile
	
>How-To-Repeat:
	
>Fix:
diff -urN py-numpy.orig/Makefile py-numpy/Makefile
--- py-numpy.orig/Makefile	Mon Feb 26 12:49:17 2007
+++ py-numpy/Makefile	Fri May  4 19:29:49 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	numpy
 PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	math python
 MASTER_SITES=	http://numpy.scipy.org/:doc \
@@ -68,13 +68,13 @@
 	@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg
 	@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" \
 	    -e "s+%%LOCALBASE%%+${LOCALBASE}+" \
-	    -e "s+%%ATLASLIBS%%+lapack, blas+" ${WRKSRC}/site.cfg
+	    -e "s+%%ATLASLIBS%%+alapack_r, f77blas_r, cblas_r, atlas_r+" \
+		 ${WRKSRC}/site.cfg
 .else
 	@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg
 	@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" \
 	    -e "s+%%LOCALBASE%%+${LOCALBASE}+" \
-	    -e "s+%%ATLASLIBS%%+alapack_r, f77blas_r, cblas_r, atlas_r+" \
-		 ${WRKSRC}/site.cfg
+	    -e "s+%%ATLASLIBS%%+lapack, blas+" ${WRKSRC}/site.cfg
 .endif
 	@${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" ${WRKSRC}/numpy/distutils/system_info.py
 

	


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



More information about the freebsd-ports-bugs mailing list