From 28305e8fc3536a12e430964f2f1c84b66252162b Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 3 Jun 2018 17:52:37 +0000 Subject: openconnect: rebuilt on slackware-current --- openconnect/build/openconnect.SlackBuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openconnect/build/openconnect.SlackBuild b/openconnect/build/openconnect.SlackBuild index 16cfbab4..bbafb6ff 100755 --- a/openconnect/build/openconnect.SlackBuild +++ b/openconnect/build/openconnect.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2017 Eric Hameleers, Eindhoven, NL +# Copyright 2017, 2018 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -37,6 +37,8 @@ # * Small fix to the vpnc-script # 7.08-3: 24/jun/2017 by Eric Hameleers # * Fix to the patch to the vpnc-script... +# 7.08-4: 03/jun/2018 by Eric Hameleers +# * Rebuilt against new libidn in Slackware-current # # Run 'sh openconnect.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -46,8 +48,8 @@ PRGNAM=openconnect VERSION=${VERSION:-7.08} -BUILD=${BUILD:-3} -NUMJOBS=${NUMJOBS:-" -j4 "} +BUILD=${BUILD:-4} +NUMJOBS=${NUMJOBS:-"-j$(nproc)"} TAG=${TAG:-alien} DOCS="AUTHORS COPYING* TODO" @@ -74,7 +76,7 @@ SRCURL[1]="http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; -- cgit v1.2.3-65-gdbad