[Bug 213717] net-p2p/bitmessage: Update fixing python path
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 3 04:04:31 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213717
Jan Beich (mail not working) <jbeich at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jbeich at FreeBSD.org
--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Comment on attachment 176071
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176071
patch
> post-patch:
> - @${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' \
> + @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|' \
[...]
> -+ echo 'exec /usr/local/bin/python2.7 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP}
> ++ echo 'exec @PYTHON@ bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP}
Why not pass $(PYTHON) via MAKE_ENV then completely drop REINPLACE_CMD against
${WRKSRC}/Makefile ?
> @${REINPLACE_CMD} -e 's|^#!.*$$|#!${PYTHON_CMD}|' \
> ${WRKSRC}/compiletest.py ${WRKSRC}/src/bitmessagecli.py ${WRKSRC}/src/bitmessagemain.py \
> ${WRKSRC}/src/depends.py \
Convert to USES=shebangfix, see ports r399684 or /usr/ports/CHANGES from
20151022. Ditto for missed files:
$ pkg info -qxl bitmessage|xargs grep '#!.*/env'
/usr/local/share/pybitmessage/pyelliptic/cipher.py:#!/usr/bin/env python
/usr/local/share/pybitmessage/pyelliptic/ecc.py:#!/usr/bin/env python
/usr/local/share/pybitmessage/pyelliptic/hash.py:#!/usr/bin/env python
/usr/local/share/pybitmessage/pyelliptic/openssl.py:#!/usr/bin/env python
/usr/local/share/pybitmessage/qidenticon.py:#!/usr/bin/env python
/usr/local/share/pybitmessage/singleton.py:#! /usr/bin/env python
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list