aboutsummaryrefslogtreecommitdiffstats
path: root/misc/heyu/files/patch-aa
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-29 21:26:22 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-29 21:26:22 +0000
commitb4ba9bf486ad998d6736f10aa4d2f99c74cd98ec (patch)
tree599cbba2bafb93eb802fc6d06a01000f3aae2bc0 /misc/heyu/files/patch-aa
parent722c55c877dd1c6e3837b5694f567e14ad9d96d4 (diff)
Respect the LOCKDIR setting in the Makefile, as well as the global
CFLAGS. PR: 16307 Submitted by: Paul M. Lambert <plambert@plambert.net>
Diffstat (limited to 'misc/heyu/files/patch-aa')
-rw-r--r--misc/heyu/files/patch-aa30
1 files changed, 21 insertions, 9 deletions
diff --git a/misc/heyu/files/patch-aa b/misc/heyu/files/patch-aa
index a924c133b1ed..6ca201db6652 100644
--- a/misc/heyu/files/patch-aa
+++ b/misc/heyu/files/patch-aa
@@ -1,14 +1,14 @@
---- Makefile.orig Tue Jan 4 23:10:44 2000
-+++ Makefile Tue Jan 4 23:12:54 2000
-@@ -3,7 +3,7 @@
- BIN = /usr/local/bin
+--- work/heyu.dir/Makefile Thu Jan 6 23:47:16 2000
++++ Makefile Sun Jan 23 00:35:45 2000
+@@ -4,7 +4,7 @@
MAN = /usr/local/man/man1
MAN5 = /usr/local/man/man5
--GROUP = sys
-+GROUP = wheel
- OWNER = bin
+ GROUP = sys
+-OWNER = bin
++OWNER = root
+ # set DFLAGS equal to:
@@ -13,19 +13,19 @@
# -DVOID if compiler doesn't understand 'void'
# -DMINIEXCH if using the DEC mini-exchange
@@ -20,8 +20,8 @@
LIBS = -lm -lc
## For LINUX, use the following defines in addition to what's above
--DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
-+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
++#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
## For solaris, use the following defines in addition to what's above
# DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT
@@ -32,3 +32,15 @@
## If you aren't sure, try this
#DFLAGS = -DSYSV -DPOSIX
+@@ -54,9 +54,10 @@
+ EVERYTHING = $(OTHERSRC) $(SRCS)
+
+ heyu: $(OBJS) version.h
+- cc $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
+
+ $(OBJS): x10.h
++ cc $(CFLAGS) $(DFLAGS) -c $<
+
+ eeprom.o: eeprom.h
+