diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-03 04:44:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-03 04:44:48 +0000 |
commit | 909a7770f1ababccd081feed41cb266aa1d58c00 (patch) | |
tree | c4ee5909b36f6b1c4d4966445be801434a86f462 /mk/buildlink2 | |
parent | e19ae3010517571c3112b17823adeb4115f9a097 (diff) | |
download | pkgsrc-909a7770f1ababccd081feed41cb266aa1d58c00.tar.gz |
Add the buildlink2 warnings to the wrapper log as well as outputting to
stdout.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r-- | mk/buildlink2/libtool-logic | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/buildlink2/libtool-logic b/mk/buildlink2/libtool-logic index 1891c4ae6b0..80adae45c9e 100644 --- a/mk/buildlink2/libtool-logic +++ b/mk/buildlink2/libtool-logic @@ -1,4 +1,4 @@ -# $NetBSD: libtool-logic,v 1.3 2002/12/28 18:58:09 jlam Exp $ +# $NetBSD: libtool-logic,v 1.4 2003/01/03 04:44:48 jlam Exp $ case $arg in -L.|-L./*|-L..*|-L${WRKSRC}*) @@ -9,6 +9,7 @@ case $arg in # ignore -L.../.libs ;; *) + $echo "*** [buildlink2] Warning: libtool detected $arg" >> $wrapperlog $echo "*** [buildlink2] Warning: libtool detected $arg" lpath=`$echo "X$arg" | $Xsed -e "s/^-L//"` case "$rellpath" in @@ -28,6 +29,7 @@ case $arg in for dir in $rellpath; do la="$dir/lib$lib.la" if $test -f "$la"; then + $echo "*** [buildlink2] Warning: libtool replaced $arg with $la" >> $wrapperlog $echo "*** [buildlink2] Warning: libtool replaced $arg with $la" arg="$la" cachesettings='skipcache=yes' |