From 91b201042b1faef3f707a5be4f7a3dc7da01cf73 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Tue, 26 Jul 2005 12:20:20 +0000 Subject: Fix build on FreeBSD 7 PR: ports/84114 Submitted by: maintainer --- net/sixxs-aiccu/files/patch-unix-console::Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net/sixxs-aiccu/files/patch-unix-console::Makefile') 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 -- cgit v1.2.3