1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/heyu/files/patch-aa
2000-05-28 03:26:24 +00:00

50 lines
1.2 KiB
Plaintext

--- 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:
@@ -16,14 +16,14 @@
#LDFLAGS = -z -i
#LIBS = -lm -lc_s # uncomment if using shared libraries
CC = gcc
-CFLAGS = -g -O $(DFLAGS) -Wall
+#CFLAGS = -g -O $(DFLAGS) -Wall
LIBS = -lm -lc
## 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
@@ -39,7 +39,7 @@
# CC = gcc
# CFLAGS = -g -O $(DFLAGS) -Wall
# LIBS = -lm -lc
-# DFLAGS= -DHASSELECT
+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
## for Alpha, OSF1 v4.0 , Use this
# GROUP = uucp
@@ -80,9 +80,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