On Thu, Feb 13, 2014 at 8:22 PM, Palle Girgensohn <[email protected]> wrote:
> Hi python@ and bapt@,
>
> I'm usnure how to fix this problem.
>
> postgresql-libpqxx needs python (shebang:ed) during the build process, and
> this is defined in the port using
>
> USE_PYTHON_BUILD= yes
> USES= gmake shebangfix
> SHEBANG_FILES= ${WRKSRC}/tools/splitconfig
>
>
> The shebangfix alters #!/usr/bin/python in tools/splitconfig to
> #!/usr/local/bin/python...
>
> But USE_PYTHON_BUILD only installs the python2 symlink, not the python
> symlink, so /usr/local/bin/python does not get installed in a clean room
> environment.
>
> I believe the port is agnostic to the version of python, so I don't want to
> enforce a specific version of python just for this port's build, but the
> build process does not automatically install the lang/python meta port.
>
> How is this supposed to work?
Hi,
You can use python_CMD= ${PYTHON_CMD} (currently installed python file name)
Since it's only a build dependency and the splitconfig file is not
packaged this shouldn't be a problem.
Cheers,
Antoine
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"