Subject: libtool's matching pattern
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 03/19/2002 08:38:46
it seems that our libtool's pattern for matching shared libs doesn't like
'.' in the library name.
[using the current pkgsrc libtool's matching]
# echo "/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule-2.0.so" | \
sed 10q | egrep "/lib[^/\.]+(\.so|_pic\.a)$"
# echo "/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule.so" | \
sed 10q | egrep "/lib[^/\.]+(\.so|_pic\.a)$"
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule.so
[using a more relaxed matching]
# echo "/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule-2.0.so" | \
sed 10q | egrep "/lib[^/]+(\.so|_pic\.a)$"
/usr/pkgsrc/x11/gtk2/work/.buildlink/lib/libgmodule-2.0.so
is there anything obviously wrong with using the second version? I hate
to touch libtool, but....
-Dan