CWS-TOOLING: integrate CWS ause127

This commit is contained in:
Ivo Hinkelmann
2011-03-29 19:12:02 +02:00
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
--- misc/Python-2.6.1/Makefile.pre.in 2011-03-08 18:23:37.230410480 +0100
+++ misc/build/Python-2.6.1/Makefile.pre.in 2011-03-08 18:22:57.935746999 +0100
@@ -414,7 +414,7 @@
libpython$(VERSION).so: $(LIBRARY_OBJS)
if test $(INSTSONAME) != $(LDLIBRARY); then \
$(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
- $(LN) -f $(INSTSONAME) $@; \
+ $(LN) -fs $(INSTSONAME) $@; \
else\
$(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
fi
@@ -767,7 +767,7 @@
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
else true; \
fi
- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) $(PYTHON))
-rm -f $(DESTDIR)$(BINDIR)/python-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)

View File

@@ -51,7 +51,8 @@ PATCH_FILES=\
Python-$(PYVERSION).patch \
Python-parallel-make.patch \
Python-ssl.patch \
Python-2.6.1-sysbase.patch
Python-2.6.1-sysbase.patch\
Python-2.6.1-nohardlink.patch
CONFIGURE_DIR=