diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2010-03-03 14:27:21 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 13:25:37 +0200 |
commit | b6928e7c7d3e6eea6f7767a8f776d4eed02d9713 (patch) | |
tree | 9a16bd7956c5484401d22d7fc9b2a2323bcf0efb /system/pdksh/pdksh.SlackBuild | |
parent | cf778870f7ac12c33c957c051fbbc2a8c389e34d (diff) |
system/pdksh: Build bump.
Compile with LFS CFLAGS. This fixes a bug with filename completion
when the file's size is bigger than 2GiB. Thanks to Daniel LEVAI.
Diffstat (limited to 'system/pdksh/pdksh.SlackBuild')
-rw-r--r-- | system/pdksh/pdksh.SlackBuild | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/system/pdksh/pdksh.SlackBuild b/system/pdksh/pdksh.SlackBuild index b0483f01f7028..38176cebf9edc 100644 --- a/system/pdksh/pdksh.SlackBuild +++ b/system/pdksh/pdksh.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh -e - -# Copyright (c) 2009, Daniel LEVAI +#!/bin/sh + +# Copyright (c) 2009, 2010 Daniel LEVAI # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright @@ -13,8 +13,8 @@ # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY <copyright holder> ''AS IS'' AND ANY +# +# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE # DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY @@ -30,7 +30,7 @@ PRGNAM=pdksh VERSION=5.2.14 ARCH=${ARCH:-i486} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -41,8 +41,8 @@ OUTPUT=${OUTPUT:-/tmp} if [ "${ARCH}" == "i486" ];then SLKCFLAGS='-O2 -march=i486 -mtune=i686' LIBDIRSUFFIX="" -elif [ "$ARCH" == "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" == "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "${ARCH}" == "x86_64" ];then SLKCFLAGS='-O2 -fPIC' @@ -68,9 +68,9 @@ for patch in "${CWD}"/patches/*;do patch -p1 < "${patch}" done - -# we are lying here with defining DEBIAN, but so many patches are depending on this, we must use it... -CFLAGS="$SLKCFLAGS -DDEBIAN" \ +# we are lying here with defining DEBIAN, but so many patches are depending +# on this, we must use it... +CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS) -DDEBIAN" \ ./configure \ --prefix=/usr \ --exec-prefix=/ \ @@ -88,7 +88,7 @@ gzip -9 $PKG/usr/man/man1/pdksh.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - BUG-REPORTS ChangeLog CONTRIBUTORS IAFA-PACKAGE \ + BUG-REPORTS ChangeLog.0 ChangeLog CONTRIBUTORS IAFA-PACKAGE \ INSTALL LEGAL NEWS NOTES PROJECTS README \ $PKG/usr/doc/$PRGNAM-$VERSION |