diff options
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 |