diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-12 17:38:53 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:38:53 +0200 |
commit | 13c6f64b232608c4f2c2bfc147e798fc9aa6437a (patch) | |
tree | fff230665a88ce0d89101dea77ede25e8b086bfe /development/re2c | |
parent | 9a0037ad6e5b1b2b2f4e302cbc9e2502ed33950f (diff) | |
download | slackbuilds-13c6f64b232608c4f2c2bfc147e798fc9aa6437a.tar.gz |
development/re2c: Updated for version 0.13.5
Diffstat (limited to 'development/re2c')
-rw-r--r-- | development/re2c/re2c.SlackBuild | 13 | ||||
-rw-r--r-- | development/re2c/re2c.info | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/development/re2c/re2c.SlackBuild b/development/re2c/re2c.SlackBuild index c07ea8a040..9ff8a0d122 100644 --- a/development/re2c/re2c.SlackBuild +++ b/development/re2c/re2c.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for re2c -# Copyright 2008 LukenShiro <lukenshiro@ngi.it> +# Copyright 2008-9 LukenShiro <lukenshiro@ngi.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - PRGNAM=re2c VERSION=${VERSION:-0.13.5} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -39,8 +38,13 @@ DOCFILES="README CHANGELOG htdocs/manual.html doc/loplas.ps" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -61,7 +65,8 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION make # in order to regenerate scanner.cc file diff --git a/development/re2c/re2c.info b/development/re2c/re2c.info index d2c14fc88b..2ee7349ce9 100644 --- a/development/re2c/re2c.info +++ b/development/re2c/re2c.info @@ -5,4 +5,4 @@ DOWNLOAD="http://downloads.sourceforge.net/re2c/re2c-0.13.5.tar.gz" MD5SUM="4a97d8f77ed6d2c76c8bd840a43f5633" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" -APPROVED="Erik Hanson" +APPROVED="dsomero" |