diff options
author | bad <bad@pkgsrc.org> | 1999-04-29 17:30:40 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 1999-04-29 17:30:40 +0000 |
commit | 75fb60a54ef0d83534d00e4cebd03abe09ba75fe (patch) | |
tree | 3672b159a24aacebb30328eba9d6dd9ff42f12ec /devel | |
parent | 3a8f481f4f1afd83ea838b0b215761b644fc8db9 (diff) | |
download | pkgsrc-75fb60a54ef0d83534d00e4cebd03abe09ba75fe.tar.gz |
First half of PR #7433: Must use c++rt0.o as SHLIB_LDSTARTFILE on a.out
platforms.
From Andreas Gustafsson.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mit-pthreads/patches/patch-ah | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/devel/mit-pthreads/patches/patch-ah b/devel/mit-pthreads/patches/patch-ah index e303a7dfbdb..fe3de8330ac 100644 --- a/devel/mit-pthreads/patches/patch-ah +++ b/devel/mit-pthreads/patches/patch-ah @@ -1,6 +1,7 @@ -$NetBSD: patch-ah,v 1.1 1998/08/23 06:22:17 garbled Exp $ ---- config/Makefile.in 1997/10/13 10:47:39 1.1 -+++ config/Makefile.in 1997/10/13 10:47:51 +$NetBSD: patch-ah,v 1.2 1999/04/29 17:30:40 bad Exp $ + +--- config/Makefile.in.orig Fri Mar 22 05:29:54 1996 ++++ config/Makefile.in Thu Apr 29 19:10:54 1999 @@ -29,7 +29,7 @@ # pathname for srcdir here, and live with it. srcdir = $(srctop) @@ -10,5 +11,14 @@ $NetBSD: patch-ah,v 1.1 1998/08/23 06:22:17 garbled Exp $ .include "${srcdir}/pthreads/Makefile.inc" .include "${srcdir}/stdlib/Makefile.inc" -Note that the context for this next patch is set to 2, to avoid the Id line -- agc +@@ -40,6 +40,10 @@ + .include "${srcdir}/scripts/Makefile.inc" + + .include <bsd.lib.mk> ++ ++.if (${OBJECT_FMT} == "a.out") ++SHLIB_LDSTARTFILE = /usr/lib/c++rt0.o ++.endif + + $(OBJS) : $(config) $(types) $(paths) + |