Date: Sat, 5 May 2007 09:47:19 +0800 (CST) From: Li-Lun Wang (Leland Wang) <llwang@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: db@FreeBSD.org Subject: ports/112429: [patch] math/py-numpy incorrect post-patch for site-cfg Message-ID: <20070505014719.06C311702C@infor.ck.tp.edu.tw> Resent-Message-ID: <200705050210.l452A4os044114@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070505014719.06C311702C>