summaryrefslogtreecommitdiff
path: root/net/click
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:21:11 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:21:11 +0000
commit8f2491df96e94a52a0c9e3d54e4cb6f7a9c86e34 (patch)
tree614af4c9c16ca7376a373bbc93d524a11f707f5e /net/click
parentUpdate click port to 1.5.0. (diff)
Add configure script patches for click port.
Diffstat (limited to 'net/click')
-rw-r--r--net/click/files/patch-configure53
-rw-r--r--net/click/files/patch-configure.in37
2 files changed, 90 insertions, 0 deletions
diff --git a/net/click/files/patch-configure b/net/click/files/patch-configure
new file mode 100644
index 000000000000..c74102b0f94c
--- /dev/null
+++ b/net/click/files/patch-configure
@@ -0,0 +1,53 @@
+--- configure.orig Fri May 19 21:50:14 2006
++++ configure Fri Oct 13 02:41:33 2006
+@@ -4449,14 +4449,14 @@
+
+ =========================================" >&2;}
+ { (exit 1); exit 1; }; }
+-elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.pl; then
++elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.src; then
+ ac_have_bsd_kernel=y
+ else
+ { { echo "$as_me:$LINENO: error:
+ =========================================
+
+ Can't find $freebsd_includedir/net/if_var.h and/or
+-$freebsd_srcdir/kern/vnode_if.pl. Are you sure $freebsd_srcdir
++$freebsd_srcdir/kern/vnode_if.src. Are you sure $freebsd_srcdir
+ and $freebsd_includedir contain FreeBSD kernel source?
+
+ =========================================" >&5
+@@ -4464,7 +4464,7 @@
+ =========================================
+
+ Can't find $freebsd_includedir/net/if_var.h and/or
+-$freebsd_srcdir/kern/vnode_if.pl. Are you sure $freebsd_srcdir
++$freebsd_srcdir/kern/vnode_if.src. Are you sure $freebsd_srcdir
+ and $freebsd_includedir contain FreeBSD kernel source?
+
+ =========================================" >&2;}
+@@ -12279,7 +12279,7 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ #include <sys/param.h>
+-#if __FreeBSD_version < 440002 || __FreeBSD_version >= 500000
++#if __FreeBSD_version < 500000
+ #include <NONEXISTENT_FILE>
+ #endif
+ _ACEOF
+@@ -12330,13 +12330,13 @@
+ { echo "$as_me:$LINENO: WARNING:
+ =========================================
+
+-Your version of FreeBSD is old. Click works with FreeBSD 4.5 and later.
++Your version of FreeBSD is old. Click works with FreeBSD 5.x and later.
+
+ =========================================" >&5
+ echo "$as_me: WARNING:
+ =========================================
+
+-Your version of FreeBSD is old. Click works with FreeBSD 4.5 and later.
++Your version of FreeBSD is old. Click works with FreeBSD 5.x and later.
+
+ =========================================" >&2;}
+ fi
diff --git a/net/click/files/patch-configure.in b/net/click/files/patch-configure.in
new file mode 100644
index 000000000000..51bfa1af4101
--- /dev/null
+++ b/net/click/files/patch-configure.in
@@ -0,0 +1,37 @@
+--- configure.in.orig Fri May 19 21:48:10 2006
++++ configure.in Fri Oct 13 02:41:47 2006
+@@ -208,14 +208,14 @@
+ are relative. You must supply absolute paths starting with /.
+
+ =========================================])
+-elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.pl; then
++elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.src; then
+ ac_have_bsd_kernel=y
+ else
+ AC_MSG_ERROR([
+ =========================================
+
+ Can't find $freebsd_includedir/net/if_var.h and/or
+-$freebsd_srcdir/kern/vnode_if.pl. Are you sure $freebsd_srcdir
++$freebsd_srcdir/kern/vnode_if.src. Are you sure $freebsd_srcdir
+ and $freebsd_includedir contain FreeBSD kernel source?
+
+ =========================================])
+@@ -549,7 +549,7 @@
+ save_flags="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I$freebsd_includedir"
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <sys/param.h>
+-#if __FreeBSD_version < 440002 || __FreeBSD_version >= 500000
++#if __FreeBSD_version < 500000
+ #include <NONEXISTENT_FILE>
+ #endif]])], ac_cv_freebsd_version=yes, ac_cv_freebsd_version=no)
+ CPPFLAGS="$save_flags"])
+@@ -560,7 +560,7 @@
+ AC_MSG_WARN([
+ =========================================
+
+-Your version of FreeBSD is old. Click works with FreeBSD 4.5 and later.
++Your version of FreeBSD is old. Click works with FreeBSD 5.x and later.
+
+ =========================================])
+ fi