summaryrefslogtreecommitdiff
path: root/lang/python31/patches/patch-au
blob: 23978d68fa36cb7f1986c1728af38d3146b67fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-au,v 1.2 2011/06/17 00:59:25 reed Exp $

--- Makefile.pre.in.orig	2011-06-11 11:48:51.000000000 -0400
+++ Makefile.pre.in	2011-06-16 20:47:35.000000000 -0400
@@ -602,7 +602,7 @@
 $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
 	$(OPCODETARGETGEN) $(OPCODETARGETS_H)
 
-Python/ceval.o: $(OPCODETARGETS_H)
+#Python/ceval.o: $(OPCODETARGETS_H)
 
 Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c \
 				$(BYTESTR_DEPS) \
@@ -807,7 +807,8 @@
 				(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
 			fi \
 		fi; \
-	else	true; \
+	elif test -f $(INSTSONAME); then \
+		$(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \
 	fi
 
 bininstall: altbininstall