aboutsummaryrefslogtreecommitdiff
path: root/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libpng-legacy12/libpng-legacy12.SlackBuild')
-rw-r--r--libraries/libpng-legacy12/libpng-legacy12.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
index 9ecd6eba6244..8be0855b3fbb 100644
--- a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
+++ b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
@@ -35,9 +35,6 @@ case "$ARCH" in
*) echo "Warning: unrecognized ARCH '$ARCH'" ;;
esac
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,6 +56,8 @@ cd $TMP/$PRGNAM
tar xvf $CWD/$UPSTREAM.txz
# Include only the shared lib, plus SBo-specific docs.
+# N.B. keep the .la file! The binary-only stuff that needs this, might
+# also need the .la (we can't fix that).
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
cp -a \
./usr/lib$LIBDIRSUFFIX/libpng12.so.*.*.* \