summaryrefslogtreecommitdiffstats
path: root/source/d/libtool
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2011-04-25 13:37:00 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 22:45:18 +0200
commit75a4a592e5ccda30715f93563d741b83e0dcf39e (patch)
tree502f745607e77a2c4386ad38d818ddcafe81489c /source/d/libtool
parentb76270bf9e6dd375e495fec92140a79a79415d27 (diff)
downloadcurrent-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz
current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.xz
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
Diffstat (limited to 'source/d/libtool')
-rwxr-xr-xsource/d/libtool/libtool.SlackBuild15
-rw-r--r--source/d/libtool/libtool.no.moved.warning.diff32
2 files changed, 25 insertions, 22 deletions
diff --git a/source/d/libtool/libtool.SlackBuild b/source/d/libtool/libtool.SlackBuild
index 75a0ff2c1..9849df425 100755
--- a/source/d/libtool/libtool.SlackBuild
+++ b/source/d/libtool/libtool.SlackBuild
@@ -20,8 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-$(echo libtool-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-$(echo libtool-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j6}
@@ -58,7 +58,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf libtool-$VERSION
-tar xvf $CWD/libtool-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/libtool-$VERSION.tar.xz || exit 1
cd libtool-$VERSION
chown -R root:root .
@@ -75,21 +75,24 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--infodir=/usr/info \
+ --mandir=/usr/man \
--docdir=/usr/doc/libtool-$VERSION \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+gzip -9 $PKG/usr/man/man?/*.?
+
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/libtool-$VERSION
cp -a \
- AUTHORS COPYING NEWS README THANKS TODO \
+ AUTHORS COPYING* NEWS README* THANKS TODO \
$PKG/usr/doc/libtool-$VERSION
mkdir $PKG/install
diff --git a/source/d/libtool/libtool.no.moved.warning.diff b/source/d/libtool/libtool.no.moved.warning.diff
index f6a82285a..80077516f 100644
--- a/source/d/libtool/libtool.no.moved.warning.diff
+++ b/source/d/libtool/libtool.no.moved.warning.diff
@@ -1,44 +1,44 @@
---- ./libltdl/config/ltmain.m4sh.orig 2009-11-16 07:17:22.000000000 -0600
-+++ ./libltdl/config/ltmain.m4sh 2010-02-06 18:13:00.000000000 -0600
-@@ -4965,7 +4965,7 @@
+--- ./libltdl/config/ltmain.m4sh.orig 2010-09-22 09:45:18.000000000 -0500
++++ ./libltdl/config/ltmain.m4sh 2010-11-06 13:38:09.000000000 -0500
+@@ -5710,7 +5710,7 @@
# Find the relevant object directory and library name.
if test "X$installed" = Xyes; then
- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- func_warning "library \`$lib' was moved."
-+ # func_warning "library \`$lib' was moved."
++ #func_warning "library \`$lib' was moved."
dir="$ladir"
absdir="$abs_ladir"
libdir="$abs_ladir"
-@@ -5496,8 +5496,8 @@
+@@ -6277,8 +6277,8 @@
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
test -z "$libdir" && \
func_fatal_error "\`$deplib' is not a valid libtool archive"
- test "$absdir" != "$libdir" && \
- func_warning "\`$deplib' seems to be moved"
-+ # test "$absdir" != "$libdir" && \
-+ # func_warning "\`$deplib' seems to be moved"
++ #test "$absdir" != "$libdir" && \
++ # func_warning "\`$deplib' seems to be moved"
path="-L$absdir"
fi
---- ./libltdl/config/ltmain.sh.orig 2009-11-16 07:23:18.000000000 -0600
-+++ ./libltdl/config/ltmain.sh 2010-02-06 18:13:26.000000000 -0600
-@@ -5407,7 +5407,7 @@
+--- ./libltdl/config/ltmain.sh.orig 2010-09-22 09:45:43.000000000 -0500
++++ ./libltdl/config/ltmain.sh 2010-11-06 13:38:49.000000000 -0500
+@@ -6499,7 +6499,7 @@
# Find the relevant object directory and library name.
if test "X$installed" = Xyes; then
- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- func_warning "library \`$lib' was moved."
-+ # func_warning "library \`$lib' was moved."
++ #func_warning "library \`$lib' was moved."
dir="$ladir"
absdir="$abs_ladir"
libdir="$abs_ladir"
-@@ -5938,8 +5938,8 @@
+@@ -7066,8 +7066,8 @@
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
test -z "$libdir" && \
func_fatal_error "\`$deplib' is not a valid libtool archive"
- test "$absdir" != "$libdir" && \
- func_warning "\`$deplib' seems to be moved"
-+ # test "$absdir" != "$libdir" && \
-+ # func_warning "\`$deplib' seems to be moved"
++ #test "$absdir" != "$libdir" && \
++ # func_warning "\`$deplib' seems to be moved"
path="-L$absdir"
fi