2013-09-26 17:14:40 +02:00

39 lines
1.1 KiB
Plaintext

$NetBSD: patch-aa,v 1.8 2011/05/19 15:48:41 drochner Exp $
--- Makefile.orig 2003-08-28 14:43:35.000000000 +0000
+++ Makefile
@@ -38,8 +38,8 @@
# openbsd means OpenBSD 2.5 or newer. freeswan is the name for Linux with
# FreeS/WAN integrated, freebsd/netbsd means FreeBSD/NetBSD with KAME IPsec.
-OS= openbsd
-#OS= netbsd
+#OS= openbsd
+OS= netbsd
#OS= freebsd
#OS= freeswan
#OS= bsdi
@@ -55,6 +55,12 @@ FEATURES+= rawkey isakmp_cfg
.PATH: ${.CURDIR}/sysdep/${OS}
PROG= isakmpd
+
+BINOWN= @BINOWN@
+BINGRP= @BINGRP@
+MANOWN= @MANOWN@
+MANGRP= @MANGRP@
+
BINDIR?= /sbin
LDSTATIC?= -static
SRCS= app.c attribute.c cert.c connection.c constants.c conf.c \
@@ -71,7 +77,8 @@ CLEANFILES= exchange_num.c exchange_num.
isakmp_num.c isakmp_num.h ipsec_fld.c ipsec_fld.h \
isakmp_fld.c isakmp_fld.h
MAN= isakmpd.8 isakmpd.conf.5 isakmpd.policy.5
-CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes \
+MKHTML= no
+CFLAGS+= -Wall -Wmissing-prototypes \
-DNEED_SYSDEP_APP \
-I${.CURDIR} -I${.CURDIR}/sysdep/${OS} -I.
#CFLAGS+= -Wsign-compare -Werror