summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-10 11:17:14 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 13:32:47 +0700
commit308142de4ad7e314b32b343cd9b4b3f7238be352 (patch)
treee6cc2f1814f33b9173b88ed054501341e6fac0d5
parent82c7817ffd0c5327d55be10ad572df22b98e6a17 (diff)
downloadslackbuilds-308142de4ad7e314b32b343cd9b4b3f7238be352.tar.gz
system/pommed-light: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/pommed-light/pommed-light.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/pommed-light/pommed-light.SlackBuild b/system/pommed-light/pommed-light.SlackBuild
index c3a3bd84a9..48816392ce 100644
--- a/system/pommed-light/pommed-light.SlackBuild
+++ b/system/pommed-light/pommed-light.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220210 bkw: Modified by SlackBuilds.org to fix the build on 15.0.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pommed-light
@@ -40,9 +42,6 @@ fi
set -e
-# 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
@@ -74,11 +73,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-make EXTRA_CFLAGS="$SLKCFLAGS"
+make EXTRA_CFLAGS="$SLKCFLAGS -fcommon"
mkdir -p $PKG/usr/sbin
install -m755 pommed/pommed $PKG/usr/sbin
@@ -94,7 +93,7 @@ cp pommed.conf.mactel $PKG/etc/pommed.conf.new
install -m644 pommed.init $PKG/etc/rc.d/rc.pommed
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README.md INSTALL COPYING AUTHORS ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp README.md COPYING AUTHORS ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install