aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence D'Anna <larry@elder-gods.org>2015-03-27 19:58:12 -0700
committerLawrence D'Anna <larry@elder-gods.org>2015-03-27 20:00:18 -0700
commit4a02aa766f8f35471b2704b5607a6f5da3a30769 (patch)
tree145af693ff6d989d7599364fbbb8793b2810b9a5
parenta7ec4ae13cd66ab28d33e3c45e9d2553a58006fd (diff)
bind: build fix: remove autoconf AR cruft
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>
-rw-r--r--net/bind/patches/002-autoconf-ar-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/bind/patches/002-autoconf-ar-fix.patch b/net/bind/patches/002-autoconf-ar-fix.patch
new file mode 100644
index 000000000..501fa7d3b
--- /dev/null
+++ b/net/bind/patches/002-autoconf-ar-fix.patch
@@ -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.
+ #