aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 823dbc78d203..cde772c959e2 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