summaryrefslogtreecommitdiff
path: root/devel/libtool-base
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-20 15:59:50 +0000
committerjlam <jlam>2005-05-20 15:59:50 +0000
commit7600df79b5dac1c72b8aa8fccd28492f3d0e4973 (patch)
treecc68e69aa7fd4842c0b525622fb6ead5031fce09 /devel/libtool-base
parent33d8d2937ed0362140534cf42a830c0a5bae19d0 (diff)
downloadpkgsrc-7600df79b5dac1c72b8aa8fccd28492f3d0e4973.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/libtool-base')
-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 \