summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-ah
blob: cd173f171cc9c7bed5db30e1a54b6b5c1a7c6b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-ah,v 1.4 1999/05/01 18:35:22 tron Exp $

--- config/Makefile.in.orig	Fri Mar 22 05:29:54 1996
+++ config/Makefile.in	Sat May  1 20:27:07 1999
@@ -18,8 +18,8 @@
 
 # Standard bsd install rules look for the "install" program, rather than
 # using some variable.  So, hack things so that that install rule works.
-BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}'
-BINOWN != echo $${USER}
+#BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}'
+#BINOWN != echo $${USER}
 LIBMODE = 644 # so ranlib can run!
 
 .include "config.flags"
@@ -29,7 +29,7 @@
 # pathname for srcdir here, and live with it.
 srcdir = $(srctop)
 
-beforeinstall:: install-dirs
+beforeinstall: install-dirs
 
 .include "${srcdir}/pthreads/Makefile.inc"
 .include "${srcdir}/stdlib/Makefile.inc"
@@ -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)