From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 1 14:30:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34341065679 for ; Sun, 1 Nov 2009 14:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B644B8FC1A for ; Sun, 1 Nov 2009 14:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1EU3kw023691 for ; Sun, 1 Nov 2009 14:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA1EU3lH023687; Sun, 1 Nov 2009 14:30:03 GMT (envelope-from gnats) Resent-Date: Sun, 1 Nov 2009 14:30:03 GMT Resent-Message-Id: <200911011430.nA1EU3lH023687@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 761B8106566B for ; Sun, 1 Nov 2009 14:21:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 659F48FC14 for ; Sun, 1 Nov 2009 14:21:33 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1ELX3f039623 for ; Sun, 1 Nov 2009 14:21:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA1ELX2B039622; Sun, 1 Nov 2009 14:21:33 GMT (envelope-from nobody) Message-Id: <200911011421.nA1ELX2B039622@www.freebsd.org> Date: Sun, 1 Nov 2009 14:21:33 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140164: [Patch]math/py-matplotlib:fix the build on FreeBSD9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 14:30:04 -0000 >Number: 140164 >Category: ports >Synopsis: [Patch]math/py-matplotlib:fix the build on FreeBSD9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Nov 01 14:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 9.0 >Organization: ChangAn Middle School >Environment: >Description: Fix the build on FreeBSD-9.0 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN py-matplotlib/files/patch-setupext.py py-matplotlib.new/files/patch-setupext.py --- py-matplotlib/files/patch-setupext.py 2009-11-02 06:15:21.000000000 +0800 +++ py-matplotlib.new/files/patch-setupext.py 2009-11-02 02:58:10.000000000 +0800 @@ -1,15 +1,16 @@ ---- setupext.py.orig 2008-08-03 13:15:22.000000000 -0500 -+++ setupext.py 2008-09-29 13:20:02.000000000 -0500 -@@ -55,6 +55,8 @@ +--- setupext.py.orig 2009-08-02 03:15:24.000000000 +0800 ++++ setupext.py 2009-11-02 02:57:44.000000000 +0800 +@@ -55,6 +55,9 @@ 'freebsd4' : ['/usr/local', '/usr'], 'freebsd5' : ['/usr/local', '/usr'], 'freebsd6' : ['/usr/local', '/usr'], + 'freebsd7' : ['/usr/local', '/usr'], + 'freebsd8' : ['/usr/local', '/usr'], ++ 'freebsd9' : ['/usr/local', '/usr'], 'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',], 'gnukfreebsd5' : ['/usr/local', '/usr'], 'gnukfreebsd6' : ['/usr/local', '/usr'], -@@ -814,7 +816,7 @@ +@@ -756,7 +759,7 @@ module.libraries.extend(wxlibs) return @@ -18,7 +19,7 @@ # Make sure you use the Tk version given by Tkinter.TkVersion # or else you'll build for a wrong version of the Tcl -@@ -1096,9 +1098,9 @@ +@@ -1054,9 +1057,9 @@ # Add final versions of directories and libraries to module lists tcl_lib, tcl_inc, tk_lib, tk_inc = result >Release-Note: >Audit-Trail: >Unformatted: