Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 14:21:33 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140164: [Patch]math/py-matplotlib:fix the build on FreeBSD9
Message-ID:  <200911011421.nA1ELX2B039622@www.freebsd.org>
Resent-Message-ID: <200911011430.nA1EU3lH023687@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911011421.nA1ELX2B039622>