py-gtk2 broken on -current

Kevin Oberman oberman at es.net
Fri Aug 1 10:22:54 PDT 2003


> Date: Fri, 01 Aug 2003 12:13:52 -0500
> From: Jeremy Messenger <mezz7 at cox.net>
> 
> On Fri, 01 Aug 2003 12:06:04 -0500, Jeremy Messenger <mezz7 at cox.net> wrote:
> 
> > On Fri, 01 Aug 2003 09:12:49 -0700, Kevin Oberman <oberman at es.net> wrote:
> >
> >> Seems to be broken on STABLE, as well. (At least STABLE as of 7/3.)
> >>
> >> I tried Jeremy's py-numeric23 patch, but it made no difference.
> > <snip>
> >
> > Are you sure the math/py-numeric/files/patch-setup.py exists? You have to 
> > create math/py-numeric/files by manual and patch it.
> 
> Oh wait.... You said that it's FreeBSD 4.8-STABLE... Look at the patch- 
> setup.py and you will have to add 'freebsd4', so here's what new patch 
> should be looks like this:
> 
> ---------------------patch-setup.py---------------------
> --- setup.py.orig	Thu Jul 31 20:57:01 2003
> +++ setup.py	Thu Jul 31 20:58:49 2003
> @@ -30,6 +30,8 @@
>      undef_macros = ['HAVE_INVERSE_HYPERBOLIC']
>  elif sys.platform in ['mac', 'beos5']:
>      mathlibs = []
> +elif sys.platform in ['freebsd4', 'freebsd5']:
> +    undef_macros = ['HAVE_INVERSE_HYPERBOLIC']
>  # delete all but the first one in this list if using your own LAPACK/BLAS
>  sourcelist = [os.path.join('Src', 'lapack_litemodule.c'),
> ---------------------patch-setup.py---------------------
> 
> I didn't know that the problem exist in FreeBSD 4.x too.. I don't have it, 
> only 5.1-CURRENT..

Bingo! That did the trick. py-gtk2, here I come!
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the freebsd-gnome mailing list