Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 14:40:30 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        ports <freebsd-ports@freebsd.org>, freebsd-python@freebsd.org
Subject:   Python and SWIG support in ports?
Message-ID:  <CAG=rPVc6AA37NFJkP%2BGaB6Y4BQP4aBYRLGGtQ6qc3VbmC38Qsg@mail.gmail.com>

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

I am working with the upstream maintainer of M2Crypto (
https://gitlab.com/m2crypto/m2crypto ).

In the distutils that comes with Python, the swig binary is harcoded
to "swig" if on a POSIX system:

https://hg.python.org/cpython/file/v2.6.2/Lib/distutils/command/build_ext.py#l635

In our ports, we name our swig binaries things like
"/usr/local/bin/swig2.0" or
"/usr/local/bin/swig3.0".  How do we deal with this in Python ports which
use
SWIG?

If possible, I'd like to push a fix upstream for FreeBSD, if the upstream
maintainer
is OK with it.

Thanks.

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVc6AA37NFJkP%2BGaB6Y4BQP4aBYRLGGtQ6qc3VbmC38Qsg>