From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: [PATCH 1/2] Prepare for python3 Date: Mon, 23 Jan 2017 16:17:19 +0100 Message-ID: <1485184640-718-2-git-send-email-jonatan.schlag@ipfire.org> In-Reply-To: <1485184640-718-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8174920722146085146==" List-Id: --===============8174920722146085146== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The build of ipaadr fails with python3 because two possibilities of /usr/lib/python* are availible. This patch set the path to /usr/lib/python2* to make the path clear. Signed-off-by: Jonatan Schlag --- lfs/ipaddr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/ipaddr b/lfs/ipaddr index 4b74e02..186141c 100644 --- a/lfs/ipaddr +++ b/lfs/ipaddr @@ -70,7 +70,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python* + cd $(DIR_APP) && install -m 0644 ipaddr.py /usr/lib/python2* /usr/bin/python -c "import ipaddr" @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.1.4 --===============8174920722146085146==--