summaryrefslogtreecommitdiff
path: root/source/d/patchelf/patchelf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/patchelf/patchelf.SlackBuild')
-rwxr-xr-xsource/d/patchelf/patchelf.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/d/patchelf/patchelf.SlackBuild b/source/d/patchelf/patchelf.SlackBuild
index e4099e01..f5fcc570 100755
--- a/source/d/patchelf/patchelf.SlackBuild
+++ b/source/d/patchelf/patchelf.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -88,6 +88,10 @@ find . \
# Use /usr/include/elf.h from glibc, which is a newer version:
rm -f src/elf.h
+if [ ! -r configure ]; then
+ ./bootstrap.sh
+fi
+
# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -111,7 +115,7 @@ make install DESTDIR=$PKG || exit 1
# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
- AUTHORS COPYING* NEWS README* THANKS TODO \
+ AUTHORS* BUGS* COPYING* NEWS* README* THANKS* TODO* \
$PKG/usr/doc/${PKGNAM}-$VERSION
# Compress manual pages:
@@ -141,4 +145,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-