diff options
Diffstat (limited to 'icedtea-web')
-rwxr-xr-x | icedtea-web/build/icedtea-web.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/icedtea-web/build/icedtea-web.SlackBuild b/icedtea-web/build/icedtea-web.SlackBuild index c8054509..ccdd592d 100755 --- a/icedtea-web/build/icedtea-web.SlackBuild +++ b/icedtea-web/build/icedtea-web.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2011, 2012 Eric Hameleers, Eindhoven, The Netherlands +# Copyright 2011, 2012, 2013 Eric Hameleers, Eindhoven, The Netherlands # All rights reserved. # Redistribution and use of this script, with or without modification, is @@ -21,11 +21,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAM=icedtea-web -VERSION=1.3.1 +VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:--j6} TAG=${TAG:-"alien"} +NUMJOBS=${NUMJOBS:--j6} + CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM @@ -80,8 +81,10 @@ find . \ [ ! -x configure ] && ./autogen.sh -# We use seamonkey, not xulrunner: -sed -i -e 's/mozilla-plugin/seamonkey-plugin/g' configure +if [ $(cat /etc/slackware-version |cut -d' ' -f2 |cut -d. -f1) -lt 14 ]; then + # We use seamonkey, not xulrunner: + sed -i -e 's/mozilla-plugin/seamonkey-plugin/g' configure +fi # IcedTea Web 1.1 and later do not install into the JDK/JRE directory but # straight into /usr/lib |