summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-04-30 14:04:56 +0000
committerbad <bad@pkgsrc.org>1999-04-30 14:04:56 +0000
commit86b07db0d1877301e9207f03dd91b64d636eafbc (patch)
treea9276872bd2882b6d636db8ea0e2912fc08397e6 /devel/mit-pthreads
parentddd2fe2788d9c0dc767196aebf0db395d4c2b5fc (diff)
downloadpkgsrc-86b07db0d1877301e9207f03dd91b64d636eafbc.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)