From llwang@infor.ck.tp.edu.tw  Sat May  5 02:02:21 2007
Return-Path: <llwang@infor.ck.tp.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 59F9716A407;
	Sat,  5 May 2007 02:02:21 +0000 (UTC)
	(envelope-from llwang@infor.ck.tp.edu.tw)
Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200])
	by mx1.freebsd.org (Postfix) with ESMTP id 2A9CD13C45E;
	Sat,  5 May 2007 02:02:21 +0000 (UTC)
	(envelope-from llwang@infor.ck.tp.edu.tw)
Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001)
	id 06C311702C; Sat,  5 May 2007 09:47:19 +0800 (CST)
Message-Id: <20070505014719.06C311702C@infor.ck.tp.edu.tw>
Date: Sat,  5 May 2007 09:47:19 +0800 (CST)
From: Li-Lun Wang (Leland Wang) <llwang@infor.org>
Reply-To: Li-Lun Wang (Leland Wang) <llwang@infor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: db@FreeBSD.org
Subject: [patch] math/py-numpy incorrect post-patch for site-cfg
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112429
>Category:       ports
>Synopsis:       [patch] math/py-numpy incorrect post-patch for site-cfg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    db
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 05 02:10:04 GMT 2007
>Closed-Date:    Fri Jun 22 20:08:01 GMT 2007
>Last-Modified:  Sun Sep  2 20:10:09 GMT 2007
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->db 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 5 02:10:13 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112429 
State-Changed-From-To: open->closed 
State-Changed-By: db 
State-Changed-When: Fri Jun 22 20:07:59 UTC 2007 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112429: commit references a PR
Date: Fri, 22 Jun 2007 20:07:17 +0000 (UTC)

 db          2007-06-22 20:07:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/py-numpy        Makefile 
   Log:
   - Remove support for 4.x
   - Fix glitch with gfortran attempting to use libg2c instead of libgfortran [1]
   - math/py-numpy incorrect post-patch for site-cfg [2]
   - Update version to 1.0.2
   
   Notified by:    kris (via pointyhat) [1]
   PR:             ports/112429 [2]
   Approved by:    ehaupt (mentor)
   
   Revision  Changes    Path
   1.10      +4 -8      ports/math/py-numpy/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112429: commit references a PR
Date: Sun,  2 Sep 2007 20:03:50 +0000 (UTC)

 db          2007-09-02 20:03:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/py-numpy        Makefile distinfo pkg-plist 
     math/py-numpy/files  
                          patch-numpy-core-include-numpy-ufuncobject.h 
                          patch-numpy-distutils-fcompiler-__init__.py 
                          patch-numpy-distutils-fcompiler-gnu.py 
   Log:
   - I added -fPIC to compile_switch to work around build of fftpack in scipy
     on amd64.
     A better fix would be to set pic_flags instead, and have scipy build a
     shared object for dfftpack instead a static archive, but I didn't figure
     out how. [1]
   - Pass maintainership to llwang@infor.org
   
   PR:             ports/112429 [1]
   Submitted by:   Li-Lun "Leland" Wang <llwang@infor.org> (new maintainer)
   
   Revision  Changes    Path
   1.12      +2 -2      ports/math/py-numpy/Makefile
   1.6       +3 -3      ports/math/py-numpy/distinfo
   1.3       +4 -4      ports/math/py-numpy/files/patch-numpy-core-include-numpy-ufuncobject.h
   1.3       +12 -3     ports/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
   1.4       +17 -20    ports/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
   1.6       +28 -31    ports/math/py-numpy/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112429: commit references a PR
Date: Sun,  2 Sep 2007 20:04:49 +0000 (UTC)

 db          2007-09-02 20:04:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     science/py-scipy     Makefile distinfo 
   Added files:
     science/py-scipy/files patch-Lib-fftpack-setup.py 
   Log:
   - Fix build of dfftpack. [1]
   - Reassign maintainership to llwang@infor.org
   
   PR:             ports/112429 [1]
   Submitted by:   Li-Lun "Leland" Wang <llwang@infor.org> (new maintainer)
   
   Revision  Changes    Path
   1.18      +2 -3      ports/science/py-scipy/Makefile
   1.5       +3 -3      ports/science/py-scipy/distinfo
   1.1       +11 -0     ports/science/py-scipy/files/patch-Lib-fftpack-setup.py (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
