On Sat, Mar 14, 2009 at 10:39:04AM +0100, Matthias Kilian wrote:
> Sending this here so i don't forget about it...
> 
> devel/subversion spills out the following strangeness during
> configure:
> 
> checking for linking Python extensions... cc -shared 
> -L/usr/obj/ports/Python-2.5.4/Python-2.5.4 -L/usr/local/lib/python2.5/config 
> -lpython2.5
> checking for linking Python libraries... 
> -L/usr/obj/ports/Python-2.5.4/Python-2.5.4 -L/usr/local/lib/python2.5/config 
> -lpython2.5
> 
> (I've WRKOBJDIR=/usr/obj/ports in /etc/mk.conf)

The /usr/obj stuff comes from Python:

  $ python2.5
  Python 2.5.4 (r254:67916, Feb  4 2009, 19:00:19)
  [GCC 3.3.5 (propolice)] on openbsd4
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from distutils import sysconfig
  >>> sysconfig.get_config_var('LDSHARED')
  'cc -shared -L/usr/obj/i386/Python-2.5.4/Python-2.5.4'

See line 78 in this file listing for what Subversion does:
http://svn.collab.net/viewvc/svn/branches/1.5.x/build/get-py-info.py?revision=29081&view=markup

I don't think I can fix this in the Subversion port.

Stefan

Reply via email to