summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-20 15:59:50 +0000
committerjlam <jlam>2005-05-20 15:59:50 +0000
commit42d4eb434600b9140d8a7843fef26a50997589f9 (patch)
treecc68e69aa7fd4842c0b525622fb6ead5031fce09
parent62bed666167943dc306fc33d9a3084049f6a1aa8 (diff)
downloadpkgsrc-42d4eb434600b9140d8a7843fef26a50997589f9.tar.gz
libtool needs to know where echo is or else it searches the PATH for
it. This value is embedded into the libtool script. This was okay on NetBSD, but was breaking on Solaris. We now pass it the path to the real echo via CONFIGURE_ENV, which on Solaris is a more featureful echo. Problem noted by Mark Davies in private mail.
-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 6c9e19516fc..7e52ee29ac5 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2005/05/18 14:40:04 tv Exp $
+# $NetBSD: Makefile,v 1.64 2005/05/20 15:59:50 jlam Exp $
###########################################################################
###########################################################################
@@ -66,6 +66,11 @@ BUILD_SHLIBTOOL?= YES
USE_LANGUAGES= c c++ fortran
CONFIGURE_ARGS+= --with-tags=CXX,F77,GCJ
+.if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
+USE_TOOLS+= echo
+CONFIGURE_ENV+= ECHO=${TOOLS_ECHO:Q}
+.endif
+
.PHONY: fix-libtool
fix-libtool:
cd ${WRKSRC}; for f in libtool; do \