From 17764cab41bc8b6c3442ab8380e78292206a7a2b Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 26 Jan 2004 12:10:24 +0000 Subject: fix build and install on Solaris: - use -h instead of -soname= when creating shared objects to appease Solaris linker. - link against librt for fdatasync(). - tweak PLIST for installed modules. --- lang/python23/patches/patch-ah | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'lang/python23/patches') diff --git a/lang/python23/patches/patch-ah b/lang/python23/patches/patch-ah index fc71f6a103b..025f4e92ffc 100644 --- a/lang/python23/patches/patch-ah +++ b/lang/python23/patches/patch-ah @@ -1,6 +1,6 @@ -$NetBSD: patch-ah,v 1.1 2003/12/08 21:13:56 recht Exp $ +$NetBSD: patch-ah,v 1.2 2004/01/26 12:10:24 grant Exp $ ---- Makefile.pre.in.orig 2003-09-20 12:50:28.000000000 +0200 +--- Makefile.pre.in.orig 2003-11-19 06:54:00.000000000 +1100 +++ Makefile.pre.in @@ -56,7 +56,7 @@ MAKESETUP= $(srcdir)/Modules/makese OPT= @OPT@ @@ -20,3 +20,12 @@ $NetBSD: patch-ah,v 1.1 2003/12/08 21:13:56 recht Exp $ platform: $(BUILDPYTHON) $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform +@@ -345,7 +345,7 @@ $(LIBRARY): $(LIBRARY_OBJS) + + libpython$(VERSION).so: $(LIBRARY_OBJS) + if test $(INSTSONAME) != $(LDLIBRARY); then \ +- $(LDSHARED) -Wl,-soname=$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ ++ $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ + $(LN) -f $(INSTSONAME) $@; \ + else\ + $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \ -- cgit v1.2.3