aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/opera-developer/opera-developer.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild
index aa180fb160677..031ff2e1e95f8 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