Fix MirBSD build.
This commit is contained in:
parent
6c012a7573
commit
15bc98d1df
2 changed files with 19 additions and 6 deletions
|
@ -1,8 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.6 2007/01/18 14:42:17 ghen Exp $
|
||||
$NetBSD: distinfo,v 1.7 2014/01/01 16:06:58 bsiegert Exp $
|
||||
|
||||
SHA1 (aiccu_20070115.tar.gz) = 7b3c51bfe291c777e74b2688e9339b4fb72e6a39
|
||||
RMD160 (aiccu_20070115.tar.gz) = 9415899c98c1f7e84b9711017b82a3a0ea2ae9de
|
||||
Size (aiccu_20070115.tar.gz) = 70056 bytes
|
||||
SHA1 (patch-ab_tunsip) = dce6b3b1a99acb0e966772b362d3e9e3a76044e2
|
||||
SHA1 (patch-aa) = 373c66c6a7b6a18ad9ab453f4fddf61634e8ad04
|
||||
SHA1 (patch-aa) = 9cd63a4e354d5e12074073afae5f2d167f86f186
|
||||
SHA1 (patch-ac) = 105a1845883211a1c101e224c826ffcc630386fd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
|
||||
$NetBSD: patch-aa,v 1.6 2014/01/01 16:06:58 bsiegert Exp $
|
||||
|
||||
--- unix-console/Makefile.orig 2007-01-15 12:04:27.000000000 +0100
|
||||
--- unix-console/Makefile.orig Mon Jan 15 11:04:04 2007
|
||||
+++ unix-console/Makefile
|
||||
@@ -26,25 +26,12 @@ CWARNS += -W -Wall -Wshadow -Wpointer-ar
|
||||
|
||||
|
@ -38,7 +38,7 @@ $NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
|
|||
SRCS += ../common/aiccu_freebsd4.c
|
||||
OBJS += ../common/aiccu_freebsd4.o
|
||||
CFLAGS += -pthread
|
||||
@@ -80,15 +67,15 @@ endif
|
||||
@@ -80,20 +67,29 @@ endif
|
||||
|
||||
# NetBSD
|
||||
ifeq ($(shell uname | grep -c "NetBSD"),1)
|
||||
|
@ -58,3 +58,17 @@ $NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
|
|||
endif
|
||||
|
||||
SRCS += ../common/aiccu_kame.c
|
||||
OBJS += ../common/aiccu_kame.o
|
||||
CFLAGS += -pthread -D_NETBSD_SOURCE
|
||||
+endif
|
||||
+
|
||||
+# MirBSD
|
||||
+ifeq ($(shell uname | grep -c "MirBSD"),1)
|
||||
+CFLAGS += -D_OPENBSD -D HAS_IFHEAD
|
||||
+CFLAGS += -D AICCU_TYPE="\"openbsd\""
|
||||
+SRCS += ../common/aiccu_openbsd.c
|
||||
+OBJS += ../common/aiccu_openbsd.o
|
||||
+CFLAGS += -pthread
|
||||
endif
|
||||
|
||||
# OpenBSD
|
||||
|
|
Loading…
Reference in a new issue