pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libtool-base libtool needs to know where echo is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dff59aaae3a
branches:  trunk
changeset: 494185:9dff59aaae3a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri May 20 15:59:50 2005 +0000

description:
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:

 devel/libtool-base/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r b9fac878e5fe -r 9dff59aaae3a devel/libtool-base/Makefile
--- a/devel/libtool-base/Makefile       Fri May 20 14:30:33 2005 +0000
+++ b/devel/libtool-base/Makefile       Fri May 20 15:59:50 2005 +0000
@@ -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 @@
 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                              \



Home | Main Index | Thread Index | Old Index