I like being able to use MAKE_JOBS=, but python2.7 keeps breaking.  The
diff below works fine for me (I did 10 parallel builds with no failure).

ok?


Index: patches/patch-Makefile_pre_in
===================================================================
RCS file: /cvs/ports/lang/python/2.7/patches/patch-Makefile_pre_in,v
retrieving revision 1.11
diff -u -p -r1.11 patch-Makefile_pre_in
--- patches/patch-Makefile_pre_in       5 Nov 2017 06:33:45 -0000       1.11
+++ patches/patch-Makefile_pre_in       5 Nov 2017 06:34:10 -0000
@@ -1,4 +1,4 @@
-$OpenBSD: patch-Makefile_pre_in,v 1.11 2017/11/05 06:33:45 jca Exp $
+$OpenBSD: patch-Makefile_pre_in,v 1.10 2016/12/19 20:47:26 rpointel Exp $
 Index: Makefile.pre.in
 --- Makefile.pre.in.orig
 +++ Makefile.pre.in
@@ -11,3 +11,12 @@ Index: Makefile.pre.in
  
  # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
  # minimal framework (not including the Lib directory and such) in the current
+@@ -1138,7 +1138,7 @@ libinstall:      build_all $(srcdir)/Lib/$(PLATDIR) 
$(srcdi
+               $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver 
$(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
+ 
+ # Create the PLATDIR source directory, if one wasn't distributed..
+-$(srcdir)/Lib/$(PLATDIR):
++$(srcdir)/Lib/$(PLATDIR): pybuilddir.txt
+       mkdir $(srcdir)/Lib/$(PLATDIR)
+       cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
+       export PATH; PATH="`pwd`:$$PATH"; \


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to