diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-11-08 22:14:40 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-11-09 08:59:51 +0100 |
commit | 9c4c402f7352413c4c15e7855c475096c8554198 (patch) | |
tree | cf3ddf30a9c8d43631b66c2017ce150f720906ca /source/n/ntp | |
parent | 63f97f5f463026066a4553a5f0f57a0d5236bc8c (diff) | |
download | current-9c4c402f7352413c4c15e7855c475096c8554198.tar.gz current-9c4c402f7352413c4c15e7855c475096c8554198.tar.xz |
Sun Nov 8 22:14:40 UTC 202020201108221440
n/mutt-2.0.0-x86_64-1.txz: Upgraded.
n/ntp-4.2.8p15-x86_64-4.txz: Rebuilt.
Make a /usr/bin/ntpdate symlink so that Plasma 5 can find it.
Thanks to alienBOB.
n/postfix-3.5.8-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/ntp')
-rwxr-xr-x | source/n/ntp/ntp.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source/n/ntp/ntp.SlackBuild b/source/n/ntp/ntp.SlackBuild index cbf7c3db5..2031b2a57 100755 --- a/source/n/ntp/ntp.SlackBuild +++ b/source/n/ntp/ntp.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ntp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -97,13 +97,11 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -# Since the Makefile's install pays no heed to the --bindir settings, -# we'll move things to where they've always been ourselves: -mv $PKG/usr/bin/* $PKG/usr/sbin -rmdir $PKG/usr/bin - -# This might only be an empty directory: -rmdir $PKG/usr/lib/pkgconfig +# KDE Plasma 5 seems to want ntpdate in /usr/bin unless you have systemd: +mkdir -p $PKG/usr/bin +( cd $PKG/usr/bin + ln -sf ../sbin/ntpdate . +) # This should be empty. Try to remove it, and error out if it's not actually empty: rmdir $PKG/usr/libexec || exit 1 |