summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-20 15:59:50 +0000
committerjlam <jlam@pkgsrc.org>2005-05-20 15:59:50 +0000
commit85d4e090014f7acfcc2fd340c0a1af6d444545d2 (patch)
treecc68e69aa7fd4842c0b525622fb6ead5031fce09 /devel
parentd1c02d1b3759e88ce04f0e2550778a86c6c2b350 (diff)
downloadpkgsrc-85d4e090014f7acfcc2fd340c0a1af6d444545d2.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.
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 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 \