summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/x/x11/x11.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/x/x11/x11.SlackBuild')
-rwxr-xr-xslackware64-current/source/x/x11/x11.SlackBuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/slackware64-current/source/x/x11/x11.SlackBuild b/slackware64-current/source/x/x11/x11.SlackBuild
index dd37ff56c..5a7df35c8 100755
--- a/slackware64-current/source/x/x11/x11.SlackBuild
+++ b/slackware64-current/source/x/x11/x11.SlackBuild
@@ -26,11 +26,11 @@
# ./x11.SlackBuild lib libX11
# Upgrade packages as they are built.
-# Default is to upgrade new packages (UPGRADE_PACKAGES=yes).
-# To install ALL newly built packages (even if they are already installed),
-# use UPGRADE_PACKAGES=always
-# To not upgrade, pass UPGRADE_PACKAGES=no
-UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-yes}
+# Default is to always upgrade newly-built packages (UPGRADE_PACKAGES=always).
+# To install newly built packages only if a package with the exact name is not
+# already installed, use UPGRADE_PACKAGES=yes
+# To not upgrade as packages are built, pass UPGRADE_PACKAGES=no
+UPGRADE_PACKAGES=${UPGRADE_PACKAGES:-always}
pkgbase() {
PKGEXT=$(echo $1 | rev | cut -f 1 -d . | rev)
@@ -265,6 +265,9 @@ mkdir -p $SLACK_X_BUILD_DIR
find . | xargs file | grep "current ar archive" | grep ELF | cut -f 1 -d : | xargs strip -g 2> /dev/null
)
+ # Don't ship .la files:
+ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# If there's any special post-install things to do, do them:
if [ -r $CWD/post-install/${PKGNAME}.post-install ]; then
RUNSCRIPT=$(mktemp -p $TMP) || exit 1