diff options
Diffstat (limited to 'system/ksh/ksh.SlackBuild')
-rw-r--r-- | system/ksh/ksh.SlackBuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/system/ksh/ksh.SlackBuild b/system/ksh/ksh.SlackBuild index d7bf7b1ba0..b0db7e1f68 100644 --- a/system/ksh/ksh.SlackBuild +++ b/system/ksh/ksh.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh - + # Copyright (c) 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,7 +13,7 @@ # * 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 ''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 @@ -28,7 +28,7 @@ # Build script for the Linux port of OpenBSD's ksh PRGNAM=ksh -VERSION=openbsd48 +VERSION=openbsd49 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,8 +48,8 @@ OUTPUT=${OUTPUT:-/tmp} if [ "${ARCH}" == "i486" ];then SLKCFLAGS='-march=i486 -mtune=i686' LIBDIRSUFFIX="" -elif [ "$ARCH" == "i686" ]; then - SLKCFLAGS="-march=i686 -mtune=i686" +elif [ "$ARCH" == "i686" ]; then + SLKCFLAGS="-march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "${ARCH}" == "x86_64" ];then SLKCFLAGS='-fPIC' @@ -74,8 +74,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -for patch in "${CWD}"/patches/*;do - patch -p1 < "${patch}" +for patch in "${CWD}"/patches/linux/*.diff;do + patch -p1 < "${patch}" +done +for patch in "${CWD}"/patches/*.diff;do + patch -p1 < "${patch}" done CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make |