[Python-modules-team] Bug#493858: Bug#493858: matplotlib: FTBFS on GNU/kFreeBSD (fixup of setupext.py needed)

Sandro Tosi matrixhasu at gmail.com
Tue Aug 5 15:55:27 UTC 2008


Hi guys,
a gentle kfreebsd porter, submitted a patch against setupext.py to
allow kfreebsd as arch for matplotlib.

I'm going to merge and upload mpl based on it, but he (and me, of
course) would be happy if you could merge this change directly in your
code (since the change is indipendent from Debian).

Thanks,
Sandro

On Tue, Aug 5, 2008 at 14:10, Petr Salinger <Petr.Salinger at seznam.cz> wrote:
> Package: matplotlib
> Severity: important
> Version: 0.98.3-1
> Tags: patch
> User: glibc-bsd-devel at lists.alioth.debian.org
> Usertags: kfreebsd
>
> Hi,
>
> the current version fails to build on GNU/kFreeBSD.
>
> It does not recognize kfreebsd7 based systems.
> Please extend debian/patches/build_fix.patch, see bellow.
>
> It would also be nice if you can ask upstream
> to include similar change.
>
> Thanks in advance
>
> --- debian/patches/build_fix.patch~     2008-08-05 13:44:10.000000000 +0000
> +++ debian/patches/build_fix.patch      2008-08-05 13:44:10.000000000 +0000
> @@ -13,7 +13,7 @@
>       'cygwin' : ['/usr/local', '/usr',],
>       'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
>                   '/usr', '/sw', '/usr/X11R6'],
> -@@ -56,8 +56,8 @@
> +@@ -56,8 +56,10 @@
>       'freebsd5' : ['/usr/local', '/usr'],
>       'freebsd6' : ['/usr/local', '/usr'],
>       'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
> @@ -21,6 +21,8 @@
>  -    'gnukfreebsd6' : ['/usr/local', '/usr'],
>  +    'gnukfreebsd5' : ['/usr'],
>  +    'gnukfreebsd6' : ['/usr'],
> ++    'gnukfreebsd7' : ['/usr'],
> ++    'gnukfreebsd8' : ['/usr'],
>       'aix5' : ['/usr/local'],
>   }

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list