aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 11:01:28 +0800
committersteve <steve@FreeBSD.org>2000-08-08 11:01:28 +0800
commit04c529b2514abeea8891e708f7ecd84d40bf835c (patch)
treeaa0c269ec1010ebe8d60dbae63d9cfbaaa93b1b9
parent1610b8fafa56a59bab235b7881c25657141f4025 (diff)
downloadfreebsd-ports-gnome-04c529b2514abeea8891e708f7ecd84d40bf835c.tar.gz
freebsd-ports-gnome-04c529b2514abeea8891e708f7ecd84d40bf835c.tar.zst
freebsd-ports-gnome-04c529b2514abeea8891e708f7ecd84d40bf835c.zip
Add 'LDFLAGS+=-lio' on the Alpha for the inb/outb implementations.
-rw-r--r--sysutils/heat/files/patch-aa23
1 files changed, 20 insertions, 3 deletions
diff --git a/sysutils/heat/files/patch-aa b/sysutils/heat/files/patch-aa
index 75d2325a2ae2..6fd6e9544a24 100644
--- a/sysutils/heat/files/patch-aa
+++ b/sysutils/heat/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Wed Jan 5 09:57:53 2000
-+++ Makefile Sun May 7 08:45:50 2000
-@@ -1,7 +1,7 @@
+--- Makefile.orig Wed Jan 5 08:57:53 2000
++++ Makefile Sun Aug 6 20:47:07 2000
+@@ -1,12 +1,15 @@
#
# Makefile
#
@@ -9,3 +9,20 @@
CFLAGS += -Wall -Wunused -Wstrict-prototypes
#
# __for debugging__
+ # CFLAGS += -pipe -g -m486 -Wall -Werror -Wunused -Wstrict-prototypes
+
++.if $(ARCH) == "alpha"
++LDFLAGS+= -lio
++.endif
+
+ BIN = heat
+
+@@ -19,7 +22,7 @@
+ $(CC) $(CFLAGS) -c main.c
+
+ main: main.o winbond.o
+- $(CC) main.o winbond.o -o $(BIN)
++ $(CC) main.o winbond.o -o $(BIN) $(LDFLAGS)
+ strip $(BIN)
+
+ clean: