summaryrefslogtreecommitdiff
path: root/misc/heyu2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-05-28 03:26:24 +0000
committerSteve Price <steve@FreeBSD.org>2000-05-28 03:26:24 +0000
commit1fbfd4bb54a00dcd25d5ac65c5b354f2c65f105d (patch)
tree9e20da0fd0a4669211de81bc88f8d1806a70344a /misc/heyu2
parentDon't add -O2 to CFLAGS. Make this port honor CFLAGS and CXXFLAGS. Fix (diff)
Update to version 1.29.
Notes
Notes: svn path=/head/; revision=28796
Diffstat (limited to 'misc/heyu2')
-rw-r--r--misc/heyu2/Makefile2
-rw-r--r--misc/heyu2/distinfo2
-rw-r--r--misc/heyu2/files/patch-aa43
-rw-r--r--misc/heyu2/files/patch-ab11
4 files changed, 36 insertions, 22 deletions
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile
index be5fa78e3aba..cd91d88ec577 100644
--- a/misc/heyu2/Makefile
+++ b/misc/heyu2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= heyu
-PORTVERSION= 1.28h
+PORTVERSION= 1.29
CATEGORIES= misc
MASTER_SITES= http://www.prado.com/~dbs/
DISTNAME= x10_heyu
diff --git a/misc/heyu2/distinfo b/misc/heyu2/distinfo
index 4584c2635557..953c33175c42 100644
--- a/misc/heyu2/distinfo
+++ b/misc/heyu2/distinfo
@@ -1 +1 @@
-MD5 (x10_heyu.tgz) = eb0af5a108b928f77a549f669a644f2e
+MD5 (x10_heyu.tgz) = 71d831637f248dbb290868d8aec5e20e
diff --git a/misc/heyu2/files/patch-aa b/misc/heyu2/files/patch-aa
index 6ca201db6652..05d5cb310c29 100644
--- a/misc/heyu2/files/patch-aa
+++ b/misc/heyu2/files/patch-aa
@@ -1,5 +1,5 @@
---- work/heyu.dir/Makefile Thu Jan 6 23:47:16 2000
-+++ Makefile Sun Jan 23 00:35:45 2000
+--- 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
@@ -9,38 +9,41 @@
# 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
+@@ -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 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
+ ## 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
- ## if you're using freebsd, just set the flag for select.
+@@ -39,7 +39,7 @@
+ # CC = gcc
+ # CFLAGS = -g -O $(DFLAGS) -Wall
+ # LIBS = -lm -lc
-# DFLAGS= -DHASSELECT
+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
- ## If you aren't sure, try this
- #DFLAGS = -DSYSV -DPOSIX
-@@ -54,9 +54,10 @@
+ ## 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) $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
-+ cc $(CFLAGS) $(DFLAGS) -c $<
++ $(CC) $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h
diff --git a/misc/heyu2/files/patch-ab b/misc/heyu2/files/patch-ab
new file mode 100644
index 000000000000..8e934f962f74
--- /dev/null
+++ b/misc/heyu2/files/patch-ab
@@ -0,0 +1,11 @@
+--- xwrite.c.orig Sat May 27 17:07:40 2000
++++ xwrite.c Sat May 27 17:08:09 2000
+@@ -30,7 +30,7 @@
+ #include <unistd.h>
+ #include <syslog.h>
+ #else
+-# ifndef POSIX
++# if !defined(POSIX) && !defined(__FreeBSD__)
+ #include <termio.h>
+ # else
+ #include <sys/termios.h>