diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-06-18 14:37:33 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-23 01:14:05 +0700 |
commit | ae1af677f4262cf609021effcd1eace6223596f3 (patch) | |
tree | d38686e12cd63ab53c72bb6bd496c951294181d0 /system/amanda/amanda.SlackBuild | |
parent | 648a4846a8709150bb8f4dac5a6cd8ff0b08035c (diff) |
system/amanda: Updated for version 3.3.9, use libtirpc.
Pass -fcommon for gcc >= 10.x
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/amanda/amanda.SlackBuild')
-rw-r--r-- | system/amanda/amanda.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild index d0eeb8d225e34..2e36913ed4b63 100644 --- a/system/amanda/amanda.SlackBuild +++ b/system/amanda/amanda.SlackBuild @@ -32,13 +32,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=amanda -VERSION=${VERSION:-3.3.8} +VERSION=${VERSION:-3.3.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -54,8 +54,8 @@ AMANDAGRP=${AMANDAGRP:-amanda} AMANDAUID=${AMANDAUID:-211} AMANDAGID=${AMANDAGID:-211} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,7 +100,7 @@ find -L . \ PERLDIR=$(perl -V:installvendorlib | cut -d\' -f2) -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon -I/usr/include/tirpc -Wl,-ltirpc" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |