lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

003-do-not-compile-tests-at-build.patch (926B)


      1 diff --git a/Makefile.pre.in b/Makefile.pre.in
      2 index 7f4ec2f..e270bf2 100644
      3 --- a/Makefile.pre.in
      4 +++ b/Makefile.pre.in
      5 @@ -1038,6 +1038,7 @@ libinstall:	build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
      6  		done; \
      7  	done
      8  	$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
      9 +ifeq (@COMPILE_ALL_TESTS@,yes)
     10  	if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
     11  		$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
     12  			$(DESTDIR)$(LIBDEST)/distutils/tests ; \
     13 @@ -1064,6 +1065,7 @@ libinstall:	build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
     14  		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
     15  	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
     16  		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
     17 +endif
     18  
     19  # Create the PLATDIR source directory, if one wasn't distributed..
     20  $(srcdir)/Lib/$(PLATDIR):