From owner-freebsd-ports-bugs@freebsd.org Thu Nov 3 04:04:31 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51B38C2CC7A for ; Thu, 3 Nov 2016 04:04:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBED716F4 for ; Thu, 3 Nov 2016 04:04:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA344U2n054943 for ; Thu, 3 Nov 2016 04:04:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213717] net-p2p/bitmessage: Update fixing python path Date: Thu, 03 Nov 2016 04:04:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 04:04:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213717 Jan Beich (mail not working) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #1 from Jan Beich (mail not working) --- Comment on attachment 176071 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176071 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/${AP= P} Why not pass $(PYTHON) via MAKE_ENV then completely drop REINPLACE_CMD agai= nst ${WRKSRC}/Makefile ? > @${REINPLACE_CMD} -e 's|^#!.*$$|#!${PYTHON_CMD}|' \ > ${WRKSRC}/compiletest.py ${WRKSRC}/src/bitmessagecli.py ${WRKSRC}/src/b= itmessagemain.py \ > ${WRKSRC}/src/depends.py \ Convert to USES=3Dshebangfix, 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 --=20 You are receiving this mail because: You are the assignee for the bug.=