aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/files/patch-af')
-rw-r--r--lang/erlang/files/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-af b/lang/erlang/files/patch-af
new file mode 100644
index 000000000000..4e20d048f0aa
--- /dev/null
+++ b/lang/erlang/files/patch-af
@@ -0,0 +1,19 @@
+--- lib/os_mon/c_src/Makefile.in.orig Tue Nov 23 16:14:47 1999
++++ lib/os_mon/c_src/Makefile.in Sat Dec 2 22:35:09 2000
+@@ -53,6 +53,7 @@
+ PROGRAMS = \
+ memsup @os_mon_programs@
+ C_FILES= $(PROGRAMS:%=%.c)
++LKSTAT= @os_mon_kstat@
+ endif
+
+ TARGET_FILES= $(PROGRAMS:%=$(BINDIR)/%)
+@@ -97,7 +98,7 @@
+ $(LD) $(LDFLAGS) -o $@ $<
+
+ $(BINDIR)/cpu_sup: $(OBJDIR)/cpu_sup.o
+- $(LD) $(LDFLAGS) -o $@ $< -lkstat
++ $(LD) $(LDFLAGS) -o $@ $< $(LKSTAT)
+
+ $(OBJDIR)/%.o: %.c
+ $(CC) -c -o $@ $(ALL_CFLAGS) $<