summaryrefslogtreecommitdiffstats
path: root/source/xap/pan/pan.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-09-20 18:49:19 +0000
committer Eric Hameleers <alien@slackware.com>2021-09-21 08:59:56 +0200
commitb957c033af59dfa7cb549a0fe368e5efec72ebaf (patch)
tree26f1265ec0e2037c6a3146fc23fc552bad0666a6 /source/xap/pan/pan.SlackBuild
parent31debcee0bc3a19ea00d23d403be3d0d0facd4f8 (diff)
downloadcurrent-b957c033af59dfa7cb549a0fe368e5efec72ebaf.tar.gz
current-b957c033af59dfa7cb549a0fe368e5efec72ebaf.tar.xz
Mon Sep 20 18:49:19 UTC 202120210920184919
a/acpid-2.0.33-x86_64-1.txz: Upgraded. n/nghttp2-1.45.0-x86_64-1.txz: Upgraded. n/samba-4.15.0-x86_64-1.txz: Upgraded. x/libXi-1.8-x86_64-1.txz: Upgraded. x/libva-2.13.0-x86_64-1.txz: Upgraded. Build with enable_va_messaging=false to avoid console spam. Thanks to GazL. x/wayland-protocols-1.23-noarch-1.txz: Upgraded. x/xf86-input-libinput-1.2.0-x86_64-1.txz: Upgraded. x/xorgproto-2021.5-x86_64-1.txz: Upgraded. xap/pan-0.147-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xap/pan/pan.SlackBuild')
-rwxr-xr-xsource/xap/pan/pan.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/source/xap/pan/pan.SlackBuild b/source/xap/pan/pan.SlackBuild
index a7dec1693..0fd7b9c12 100755
--- a/source/xap/pan/pan.SlackBuild
+++ b/source/xap/pan/pan.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2018, 2019, 2021 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=pan
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -75,16 +75,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix gmime3 errors and building with glib-2.68.0:
-zcat $CWD/pan.glib-2.68.0.diff.gz | patch -p1 --verbose || exit 1
-
# Build with enchant-2:
zcat $CWD/pan.enchant2.diff.gz | patch -p1 --verbose || exit 1
-zcat $CWD/pan.gcc11.diff.gz | patch -p1 --verbose || exit 1
-
# Configure:
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--localstatedir=/var/lib \