Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2011 13:59:56 -0300
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        freebsd-python@freebsd.org
Subject:   lang/python* and --enable-shared
Message-ID:  <87sjo33tgz.fsf@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hello there,

I'm currently working on updating and cleaning up the PyQt ports.

After my current changes, devel/py-qt4-designerplugin cannot be built
because the configuration script does something similar to the
following:

  from distutils.sysconfig import get_config_vars
  ducfg = get_config_vars()

  # ...

  if not "--enable-shared" in ducfg.get("CONFIG_ARGS", ""):
     # error out and do not build

And indeed, the lang/python27 port I have installed here does not pass
--enable-shared to its configuration script.

Is that intentional? Can someone explain what the effects of this option
are? So far, we were just patching the configuration script to skip this
check altogether, but I'm not sure this is even correct.

Cheers,
rakuco




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