ports/55866: port devel/libtool13 installs .la files
Oliver Eikemeier
eikemeier at fillmore-labs.com
Fri Aug 22 13:50:13 UTC 2003
>Number: 55866
>Category: ports
>Synopsis: port devel/libtool13 installs .la files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 22 06:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Oliver Eikemeier
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Fillmore Labs - http://www.fillmore-labs.com
>Environment:
System: FreeBSD nuuk.fillmore-labs.com 4.8-STABLE
>Description:
port devel/libtool13 installs .la files, while
devel/libtool14 and devel/libtool15 don't.
>How-To-Repeat:
install port net/openldap20-client.
lib/liblber.la
lib/libldap.la
lib/libldap_r.la
shouldn't be there.
>Fix:
patch ltmain.sh in the same kind as in
ports/devel/libtool1[45]/files/patch-ad:
--- libtool13.patch begins here ---
--- files/patch-ad.orig Fri Jun 27 02:05:33 2003
+++ files/patch-ad Fri Aug 22 15:36:27 2003
@@ -213,20 +213,28 @@
$show "creating $output"
if test -n "$xrpath"; then
-@@ -3360,10 +3469,12 @@
+@@ -3360,10 +3469,16 @@
fi
# Install the pseudo-library for information purposes.
-+ if test "$install_ltlibs" = yes; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
+- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+- instname="$dir/$name"i
+- $show "$install_prog $instname $destdir/$name"
+- $run eval "$install_prog $instname $destdir/$name" || exit $?
++ case $host in
++ *-*-freebsd*)
++ # Do not install the useless pseudo-library
++ ;;
++ *)
++ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
++ instname="$dir/$name"i
++ $show "$install_prog $instname $destdir/$name"
++ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ esac
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
-@@ -3452,7 +3563,6 @@
+@@ -3452,7 +3567,6 @@
fi
libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
if test -n "$libdir" && test ! -f "$libfile"; then
--- libtool13.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list