bind: build fix: remove autoconf AR cruft 1082/head
authorLawrence D'Anna <larry@elder-gods.org>
Sat, 28 Mar 2015 02:58:12 +0000 (19:58 -0700)
committerLawrence D'Anna <larry@elder-gods.org>
Sat, 28 Mar 2015 03:00:18 +0000 (20:00 -0700)
This patch removes some autoconf goo which is causing bind to use the host's ar
instead the ar from the toolchain.  If they're both elf platforms this is fine,
but it's no good if host is darwin.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
net/bind/patches/002-autoconf-ar-fix.patch [new file with mode: 0644]

diff --git a/net/bind/patches/002-autoconf-ar-fix.patch b/net/bind/patches/002-autoconf-ar-fix.patch
new file mode 100644 (file)
index 0000000..501fa7d
--- /dev/null
@@ -0,0 +1,29 @@
+--- a/configure.in
++++ b/configure.in
+@@ -93,26 +93,11 @@ esac
+ #
+ AC_CONFIG_FILES([make/rules make/includes])
+-AC_PATH_PROG(AR, ar)
+-ARFLAGS="cruv"
+-AC_SUBST(AR)
+-AC_SUBST(ARFLAGS)
+-
+ # The POSIX ln(1) program.  Non-POSIX systems may substitute
+ # "copy" or something.
+ LN=ln
+ AC_SUBST(LN)
+-case "$AR" in
+-      "")
+-              AC_MSG_ERROR([
+-ar program not found.  Please fix your PATH to include the directory in
+-which ar resides, or set AR in the environment with the full path to ar.
+-])
+-
+-              ;;
+-esac
+-
+ #
+ # Etags.
+ #