summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/freebsd-configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/freebsd-configure.sh')
-rwxr-xr-xcontrib/unbound/freebsd-configure.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/contrib/unbound/freebsd-configure.sh b/contrib/unbound/freebsd-configure.sh
index 46dc53a..c8852e7 100755
--- a/contrib/unbound/freebsd-configure.sh
+++ b/contrib/unbound/freebsd-configure.sh
@@ -32,13 +32,6 @@ autoheader
--with-run-dir=/var/unbound \
--with-username=unbound
-# Regenerate the configuration parser
-{
-cat <<EOF
-#include "config.h"
-#include "util/configyyrename.h"
-EOF
-/usr/bin/flex -L -t util/configlexer.lex
-} >util/configlexer.c
-
-/usr/bin/yacc -d -o util/configparser.c util/configparser.y
+# Don't try to provide bogus memory usage statistics based on sbrk(2).
+sed -n -i.orig -e '/HAVE_SBRK/!p' config.status
+./config.status config.h
OpenPOWER on IntegriCloud