1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/heyu/files/patch-aa
Steve Price b4ba9bf486 Respect the LOCKDIR setting in the Makefile, as well as the global
CFLAGS.

PR:		16307
Submitted by:	Paul M. Lambert <plambert@plambert.net>
2000-01-29 21:26:22 +00:00

47 lines
1.2 KiB
Plaintext

--- 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
-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
-CFLAGS = -O $(DFLAGS) -Wall
+#CFLAGS = -O $(DFLAGS) -Wall
#LDFLAGS = -z -i
#LIBS = -lm -lc_s # uncomment if using shared libraries
LIBS = -lm -lc
## For LINUX, use the following defines in addition to what's above
-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
## if you're using freebsd, just set the flag for select.
-# DFLAGS= -DHASSELECT
+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
## 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