1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/heyu2/files/patch-aa

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2000-05-28 03:26:24 +00:00
--- Makefile.orig Tue May 23 22:57:17 2000
+++ Makefile Sat May 27 17:06:28 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:
2000-05-28 03:26:24 +00:00
@@ -16,14 +16,14 @@
#LDFLAGS = -z -i
#LIBS = -lm -lc_s # uncomment if using shared libraries
2000-05-28 03:26:24 +00:00
CC = gcc
-CFLAGS = -g -O $(DFLAGS) -Wall
+#CFLAGS = -g -O $(DFLAGS) -Wall
LIBS = -lm -lc
2000-05-28 03:26:24 +00:00
## For LINUX, use the following
#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
CC = gcc
CFLAGS = -g -O $(DFLAGS) -Wall
-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
#LIBS = -lm -lc_s # uncomment if using shared libraries
LIBS = -lm -lc # uncoment if not using shared libraries
2000-05-28 03:26:24 +00:00
@@ -39,7 +39,7 @@
# CC = gcc
# CFLAGS = -g -O $(DFLAGS) -Wall
# LIBS = -lm -lc
-# DFLAGS= -DHASSELECT
+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
2000-05-28 03:26:24 +00:00
## for Alpha, OSF1 v4.0 , Use this
# GROUP = uucp
@@ -80,9 +80,10 @@
EVERYTHING = $(OTHERSRC) $(SRCS)
heyu: $(OBJS) version.h
2000-05-28 03:26:24 +00:00
- $(CC) $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
2000-05-28 03:26:24 +00:00
+ $(CC) $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h