From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] Prepare for python3 Date: Fri, 10 Mar 2017 15:32:18 +0100 Message-ID: <1489156338.1865.0@mail01.ipfire.org> In-Reply-To: <1489156222-29550-2-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8041776064818125917==" List-Id: --===============8041776064818125917== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sorry this path is already in next, he can safely ignored. Am Fr, 10. Mär, 2017 um 3:30 schrieb Jonatan Schlag : > 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 > --===============8041776064818125917==--