From 0e06193204c011ed4442a48ca235a2da0593be49 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Tue, 27 Jun 2017 02:41:51 +0700 Subject: network/opera-developer: Stop building for non x86_64. Signed-off-by: Willy Sudiarto Raharjo --- network/opera-developer/opera-developer.SlackBuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'network') diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild index aa180fb160..031ff2e1e9 100644 --- a/network/opera-developer/opera-developer.SlackBuild +++ b/network/opera-developer/opera-developer.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=opera-developer VERSION=${VERSION:-47.0.2628.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -46,17 +46,21 @@ if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" BITS="i386" + echo "This package is currently only available for 64bit." + exit 1 elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" BITS="i386" + echo "This package is currently only available for 64bit." + exit 1 elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" BITS="amd64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + echo "Package for $(uname -m) architecture is not available." + exit 1 fi rm -rf $PKG -- cgit v1.2.3