Make it build on DragonFly.

This commit is contained in:
hasso 2009-07-21 19:17:53 +00:00
parent 17e769cf50
commit 18527c72f3
2 changed files with 13 additions and 9 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.13 2009/05/25 09:03:14 adam Exp $
$NetBSD: distinfo,v 1.14 2009/07/21 19:17:53 hasso Exp $
SHA1 (ntop-3.3.10.tar.gz) = 8c6b5024a99e73241abd1c831f5ea241b67d0dbf
RMD160 (ntop-3.3.10.tar.gz) = 85e73de0d7db041d12ae8d77a832b6ed199b6f4b
Size (ntop-3.3.10.tar.gz) = 3235500 bytes
SHA1 (patch-aa) = 64b2d4cda050cd9b8981b29b0e10d900469d4b7d
SHA1 (patch-ab) = 2592d685f011eaf3268ec7a73b70c572e7f4354f
SHA1 (patch-ab) = cf5a15ede9863bd5bab7913cdef315d6655863f9

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.16 2009/05/25 09:03:15 adam Exp $
$NetBSD: patch-ab,v 1.17 2009/07/21 19:17:53 hasso Exp $
--- configure.in.orig 2009-05-06 16:55:22.000000000 +0200
+++ configure.in
@@ -431,6 +431,15 @@ case "${target}:${CC}" in
--- configure.in.orig 2009-05-06 17:55:22 +0300
+++ configure.in 2009-07-21 21:19:57 +0300
@@ -431,6 +431,19 @@ case "${target}:${CC}" in
echo "* This appears to be ${DEFINEOS} (release not checked)"
;;
@ -14,11 +14,15 @@ $NetBSD: patch-ab,v 1.16 2009/05/25 09:03:15 adam Exp $
+ DEFINEOS="OPENBSD"
+ echo "* This appears to be ${DEFINEOS}"
+ ;;
+ *-*-dragonfly*:* )
+ DEFINEOS="DRAGONFLY"
+ echo "* This appears to be ${DEFINEOS}"
+ ;;
+
* )
echo "* ${target} is an unknown/unsupported OS"
echo "*"
@@ -621,8 +630,8 @@ if test ".${PCAPRING_DIR}" != .; then
@@ -621,8 +634,8 @@ if test ".${PCAPRING_DIR}" != .; then
else
if test ".${PCAP_ROOT}" != .; then
if test -d $PCAP_ROOT &&
@ -29,7 +33,7 @@ $NetBSD: patch-ab,v 1.16 2009/05/25 09:03:15 adam Exp $
PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
CORELIBS="${CORELIBS} -L$PCAP_ROOT -lpcap"
INCS="${INCS} -I$PCAP_ROOT"
@@ -1656,18 +1665,10 @@ LUA_VERSION=lua-5.1.4
@@ -1656,18 +1669,10 @@ LUA_VERSION=lua-5.1.4
if test -f "$LUA_VERSION.tar.gz"; then
echo "Lua already present on this machine"
else
@ -50,7 +54,7 @@ $NetBSD: patch-ab,v 1.16 2009/05/25 09:03:15 adam Exp $
AC_DEFINE_UNQUOTED(HAVE_LUA, 1, [LUA is supported])
dnl>
@@ -1966,36 +1967,20 @@ dnl> GeoIP (http://www.maxmind.com/)
@@ -1966,36 +1971,20 @@ dnl> GeoIP (http://www.maxmind.com/)
if test -f "GeoIP.tar.gz"; then
echo "GeoIP already present on this machine"
else