aboutsummaryrefslogtreecommitdiffstats
path: root/net/sixxs-aiccu
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-07-26 20:20:20 +0800
committervs <vs@FreeBSD.org>2005-07-26 20:20:20 +0800
commit803a0c00aa2c2b9be98afae5835fc46c8b76b738 (patch)
tree580ea1d533d6bb33df79e9e895ff8e38328e3662 /net/sixxs-aiccu
parent1df94b1eceda769149209bb358fb5efe0c7ffd7f (diff)
downloadfreebsd-ports-graphics-803a0c00aa2c2b9be98afae5835fc46c8b76b738.tar.gz
freebsd-ports-graphics-803a0c00aa2c2b9be98afae5835fc46c8b76b738.tar.zst
freebsd-ports-graphics-803a0c00aa2c2b9be98afae5835fc46c8b76b738.zip
Fix build on FreeBSD 7
PR: ports/84114 Submitted by: maintainer
Diffstat (limited to 'net/sixxs-aiccu')
-rw-r--r--net/sixxs-aiccu/files/patch-unix-console::Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/sixxs-aiccu/files/patch-unix-console::Makefile b/net/sixxs-aiccu/files/patch-unix-console::Makefile
index 823dbc78d20..cde772c959e 100644
--- a/net/sixxs-aiccu/files/patch-unix-console::Makefile
+++ b/net/sixxs-aiccu/files/patch-unix-console::Makefile
@@ -9,7 +9,7 @@
endif
# FreeBSD 5.x
-@@ -45,7 +45,13 @@
+@@ -45,7 +45,19 @@
CFLAGS += -D AICCU_TYPE="\"kame\""
SRCS += ../common/aiccu_kame.c
OBJS += ../common/aiccu_kame.o
@@ -21,6 +21,12 @@
+CFLAGS += -D AICCU_TYPE="\"kame\""
+SRCS += ../common/aiccu_kame.c
+OBJS += ../common/aiccu_kame.o
++endif
++# FreeBSD 7.x
++ifeq ($(shell uname -r | cut -c 1),7)
++CFLAGS += -D AICCU_TYPE="\"kame\""
++SRCS += ../common/aiccu_kame.c
++OBJS += ../common/aiccu_kame.o
endif
endif