summaryrefslogtreecommitdiff
path: root/emulators/doscmd/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/doscmd/patches/patch-ab')
-rw-r--r--emulators/doscmd/patches/patch-ab22
1 files changed, 17 insertions, 5 deletions
diff --git a/emulators/doscmd/patches/patch-ab b/emulators/doscmd/patches/patch-ab
index d86785995b4..f79741db50a 100644
--- a/emulators/doscmd/patches/patch-ab
+++ b/emulators/doscmd/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:34 agc Exp $
+$NetBSD: patch-ab,v 1.3 1998/10/28 01:29:16 hubertf Exp $
---- Makefile.orig Thu May 2 12:55:19 1996
-+++ Makefile Fri Jul 17 23:30:12 1998
-@@ -8,20 +8,23 @@
+--- Makefile.orig Thu May 2 19:55:19 1996
++++ Makefile Wed Oct 28 02:07:49 1998
+@@ -8,30 +8,33 @@
int1a.c int2f.c intff.c \
mem.c mouse.c net.c null.c port.c setver.c signal.c timer.c trace.c trap.c tty.c xms.c
@@ -29,4 +29,16 @@ $NetBSD: patch-ab,v 1.2 1998/08/07 10:40:34 agc Exp $
+ ${.CURDIR}/instbsdi.exe ${PREFIX}/libexec/
doscmd: doscmd.kernel ${LIBCRT0} doscmd_loader.o
- ld -N -Bstatic -o doscmd ${LDFLAGS} ${LIBCRT0} doscmd_loader.o ${LDADD}
+- ld -N -Bstatic -o doscmd ${LDFLAGS} ${LIBCRT0} doscmd_loader.o ${LDADD}
++ ld -N -Bstatic -o doscmd ${LDFLAGS:S/^-Wl,//g} ${LIBCRT0} doscmd_loader.o ${LDADD}
+
+ .include <bsd.prog.mk>
+
+ .depend: doscmd_loader.c
+
+ doscmd.kernel: crt0.o ${OBJS}
+- ld -N -Bstatic -T 110000 -o doscmd.kernel ${LDFLAGS} crt0.o ${OBJS} ${LDADD}
++ ld -N -Bstatic -T 110000 -o doscmd.kernel ${LDFLAGS:S/^-Wl,//g} crt0.o ${OBJS} ${LDADD}
+
+ doscmd.0: doscmd.1
+ tbl ${.IMPSRC} | nroff -mandoc > ${.TARGET}