]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/commitdiff
Prepare for python3
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 23 Jan 2017 15:17:19 +0000 (16:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Jan 2017 13:45:39 +0000 (13:45 +0000)
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 <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ipaddr

index 4b74e0248a8b7e8d8b870f11398fa8017e10c715..186141c3191ce1ba4933d768a28ed5f49b1cb0c3 100644 (file)
@@ -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)