summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-08 02:08:21 +0000
committerjlam <jlam>2004-02-08 02:08:21 +0000
commit0efa964040cd88d4a57ad651bbee8987d45a572e (patch)
treea2856f2746bd839bf42e04bd092eb98c7af22010 /devel
parentbf2f55e87d122afc0ab226454d40727ded4f74d4 (diff)
downloadpkgsrc-0efa964040cd88d4a57ad651bbee8987d45a572e.tar.gz
Don't set LD to ${BUILDLINK_DIR}/bin/ld in the libtool script.
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool-base/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
index 133d52b3c1a..2c3b8d4a95a 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/02/05 21:30:00 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2004/02/08 02:08:21 jlam Exp $
#
PKGNAME= ${DISTNAME:C/-/-base-/}
@@ -33,6 +33,11 @@ BUILD_SHLIBTOOL= NO
CONFIGURE_ARGS= --enable-ltdl-install
.endif
+# libtool persists in trying to find the path to ld, which always ends
+# up in ${BUILDLINK_DIR}. Prevent it from caring.
+#
+CONFIGURE_ENV+= lt_cv_path_LD=${LD:Q}
+
.if !empty(MACHINE_PLATFORM:MDarwin-*-*)
. include "../../devel/dlcompat/buildlink3.mk"
.endif