summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads
diff options
context:
space:
mode:
authorbad <bad>1999-04-30 14:04:56 +0000
committerbad <bad>1999-04-30 14:04:56 +0000
commit95675686a048a7230a6a99efeaa38676ed93ba89 (patch)
treea9276872bd2882b6d636db8ea0e2912fc08397e6 /devel/mit-pthreads
parentc4ea789a6df9a9c477822ba2c923cef081d07532 (diff)
downloadpkgsrc-95675686a048a7230a6a99efeaa38676ed93ba89.tar.gz
Update from Andreas Gustafsson.
Don't fail to build on 1.3.x systems.
Diffstat (limited to 'devel/mit-pthreads')
-rw-r--r--devel/mit-pthreads/patches/patch-ah8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/mit-pthreads/patches/patch-ah b/devel/mit-pthreads/patches/patch-ah
index fe3de8330ac..157e532a834 100644
--- a/devel/mit-pthreads/patches/patch-ah
+++ b/devel/mit-pthreads/patches/patch-ah
@@ -1,7 +1,7 @@
-$NetBSD: patch-ah,v 1.2 1999/04/29 17:30:40 bad Exp $
+$NetBSD: patch-ah,v 1.3 1999/04/30 14:04:56 bad Exp $
--- config/Makefile.in.orig Fri Mar 22 05:29:54 1996
-+++ config/Makefile.in Thu Apr 29 19:10:54 1999
++++ config/Makefile.in Fri Apr 30 15:13:48 1999
@@ -29,7 +29,7 @@
# pathname for srcdir here, and live with it.
srcdir = $(srctop)
@@ -11,14 +11,16 @@ $NetBSD: patch-ah,v 1.2 1999/04/29 17:30:40 bad Exp $
.include "${srcdir}/pthreads/Makefile.inc"
.include "${srcdir}/stdlib/Makefile.inc"
-@@ -40,6 +40,10 @@
+@@ -40,6 +40,12 @@
.include "${srcdir}/scripts/Makefile.inc"
.include <bsd.lib.mk>
+
++.ifdef OBJECT_FMT
+.if (${OBJECT_FMT} == "a.out")
+SHLIB_LDSTARTFILE = /usr/lib/c++rt0.o
+.endif
++.endif
$(OBJS) : $(config) $(types) $(paths)