summaryrefslogtreecommitdiffstats
path: root/source/l/system-config-printer/system-config-printer.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-03-09 04:14:08 +0000
committer Eric Hameleers <alien@slackware.com>2022-03-09 06:59:43 +0100
commit0c0ed7e69d8c3c032c527d610497e0155dddbfdc (patch)
treed277944248c43c1dfacb0340c479572bf9cc4483 /source/l/system-config-printer/system-config-printer.SlackBuild
parent861f54c49fa9e8d462041bcaa635d99707a822e3 (diff)
downloadcurrent-0c0ed7e69d8c3c032c527d610497e0155dddbfdc.tar.gz
current-0c0ed7e69d8c3c032c527d610497e0155dddbfdc.tar.xz
Wed Mar 9 04:14:08 UTC 202220220309041408
a/kernel-generic-5.16.13-x86_64-1.txz: Upgraded. a/kernel-huge-5.16.13-x86_64-1.txz: Upgraded. a/kernel-modules-5.16.13-x86_64-1.txz: Upgraded. d/Cython-0.29.28-x86_64-1.txz: Upgraded. d/kernel-headers-5.16.13-x86-1.txz: Upgraded. k/kernel-source-5.16.13-noarch-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to '')
-rwxr-xr-xsource/l/system-config-printer/system-config-printer.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/l/system-config-printer/system-config-printer.SlackBuild b/source/l/system-config-printer/system-config-printer.SlackBuild
index 0d4f24b54..15b5a60b8 100755
--- a/source/l/system-config-printer/system-config-printer.SlackBuild
+++ b/source/l/system-config-printer/system-config-printer.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 2010, 2011, 2012 Eric Hameleers, Eindhoven, NL
-# Copyright 2010, 2011, 2012, 2013, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2010, 2011, 2012, 2013, 2018, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=system-config-printer
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -89,6 +89,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Fix missing required file:
+if [ ! -r ChangeLog ]; then
+ touch ChangeLog
+fi
+
# Configure:
if [ ! -r configure ]; then
if [ -x ./autogen.sh ]; then
@@ -109,6 +114,7 @@ PYTHON=/usr/bin/python3 \
--localstatedir=/var/lib \
--sysconfdir=/etc \
--with-udev-rules \
+ --with-systemdsystemunitdir=no \
--program-prefix= \
--program-suffix= \
--build=$TARGET || exit 1