summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-29 22:19:00 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-29 22:19:00 +0000
commitf25a5884f50d5ae854fda08efa08edf623aee8f4 (patch)
tree779bd7a4929a7e82aab0fa72d8d63cde80d8ad92 /sbin
parent23a83f906f9ebf8e9839c48e2216f921a414fc22 (diff)
KAME-integrated BSDs have getnameinfo
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/sysdep/freebsd/GNUmakefile.sysdep4
-rw-r--r--sbin/isakmpd/sysdep/freebsd/Makefile.sysdep5
-rw-r--r--sbin/isakmpd/sysdep/netbsd/GNUmakefile.sysdep4
-rw-r--r--sbin/isakmpd/sysdep/netbsd/Makefile.sysdep4
4 files changed, 10 insertions, 7 deletions
diff --git a/sbin/isakmpd/sysdep/freebsd/GNUmakefile.sysdep b/sbin/isakmpd/sysdep/freebsd/GNUmakefile.sysdep
index 71c262be8d7..36f5d09cd0c 100644
--- a/sbin/isakmpd/sysdep/freebsd/GNUmakefile.sysdep
+++ b/sbin/isakmpd/sysdep/freebsd/GNUmakefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: GNUmakefile.sysdep,v 1.3 2001/02/24 04:42:48 angelos Exp $
+# $OpenBSD: GNUmakefile.sysdep,v 1.4 2001/06/29 22:18:58 itojun Exp $
#
# Copyright (c) 1999 Håkan Olsson. All rights reserved.
@@ -42,6 +42,8 @@ LIBSYSDEP:= ${LIBSYSDEPDIR}/libsysdep.a
LDADD+= -lgmp ${LIBSYSDEP}
DPADD+= ${LIBGMP} ${LIBSYSDEP}
+CFLAGS+= -DHAVE_GETNAMEINFO
+
FEATURES= debug tripledes des blowdish cast ec aggressive
# Not yet
#FEATURES+= policy x509
diff --git a/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep b/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
index dbf36698be9..c65a6d3c4a1 100644
--- a/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/freebsd/Makefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sysdep,v 1.3 2001/02/24 04:42:48 angelos Exp $
+# $OpenBSD: Makefile.sysdep,v 1.4 2001/06/29 22:18:58 itojun Exp $
#
# Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -45,7 +45,8 @@ LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep
LDADD+= -lgmp ${LIBSYSDEPDIR}/libsysdep.a -L/usr/local/lib
DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a
-CFLAGS+= -I${.CURDIR}/sysdep/common -I/usr/include \
+CFLAGS+= -DHAVE_GETNAMEINFO \
+ -I${.CURDIR}/sysdep/common -I/usr/include \
-I/usr/local/include -I/usr/local/include/openssl
IPSEC_SRCS= pf_key_v2.c
diff --git a/sbin/isakmpd/sysdep/netbsd/GNUmakefile.sysdep b/sbin/isakmpd/sysdep/netbsd/GNUmakefile.sysdep
index 1068bc7154e..d8f089bcd5e 100644
--- a/sbin/isakmpd/sysdep/netbsd/GNUmakefile.sysdep
+++ b/sbin/isakmpd/sysdep/netbsd/GNUmakefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: GNUmakefile.sysdep,v 1.4 2001/04/03 10:55:22 niklas Exp $
+# $OpenBSD: GNUmakefile.sysdep,v 1.5 2001/06/29 22:18:59 itojun Exp $
#
# Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -40,7 +40,7 @@ FEATURES= debug tripledes des blowfish cast ec aggressive x509
# Not yet
#FEATURES+= policy
-CFLAGS+= -DNO_RSA -DNO_RC5 -DNO_IDEA \
+CFLAGS+= -DNO_RSA -DNO_RC5 -DNO_IDEA -DHAVE_GETNAMEINFO \
-I${.CURDIR}/sysdep/common -I/usr/include/openssl \
-I/usr/include/machine -I/usr/pkg/include
diff --git a/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep b/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
index 0a2ff2b89ad..8813a9227d8 100644
--- a/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sysdep,v 1.5 2001/04/03 10:55:21 niklas Exp $
+# $OpenBSD: Makefile.sysdep,v 1.6 2001/06/29 22:18:59 itojun Exp $
#
# Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -39,7 +39,7 @@ LIBSYSDEPDIR= ${.CURDIR}/sysdep/common/libsysdep
LDADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a -lipsec
DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a ${LIBIPSEC}
-CFLAGS+= -DNO_RSA -DNO_IDEA -DNO_RC5 \
+CFLAGS+= -DNO_RSA -DNO_IDEA -DNO_RC5 -DHAVE_GETNAMEINFO \
-I${.CURDIR}/sysdep/common
.if exists(/usr/pkg/include/openssl/rsa.h)
CFLAGS+= -I/usr/pkg/include/openssl