kmod: bump to version 24
[buildroot-gz.git] / package / python / 011-remove-python-symlink.patch
blobe021d8320ab6fa66e529a61a259ab0cb188c1e1d
1 Remove the python symlink install rules.
3 The python symlink installation will be handled by Buildroot itself, because
4 Buildroot needs to control to what python interpreter (python2 or python3) the
5 python symlink points to.
7 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 (rebased against version 2.7.12)
11 Index: b/Makefile.pre.in
12 ===================================================================
13 --- a/Makefile.pre.in
14 +++ b/Makefile.pre.in
15 @@ -974,17 +974,10 @@
16 echo "Creating directory $(LIBPC)"; \
17 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
19 - -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
20 - then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
21 - else true; \
22 - fi
23 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
24 -rm -f $(DESTDIR)$(BINDIR)/python2$(EXE)
25 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
26 -rm -f $(DESTDIR)$(BINDIR)/python2-config
27 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
28 - -rm -f $(DESTDIR)$(BINDIR)/python-config
29 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
30 -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
31 -rm -f $(DESTDIR)$(LIBPC)/python2.pc
32 (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)