summaryrefslogtreecommitdiff
path: root/system/mksh/mksh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mksh/mksh.SlackBuild')
-rw-r--r--system/mksh/mksh.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild
index 22356d82e1..98967c41b0 100644
--- a/system/mksh/mksh.SlackBuild
+++ b/system/mksh/mksh.SlackBuild
@@ -26,9 +26,10 @@
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# 2011 Mar 20 - initial release
# 2011 Jun 13 - adapted to R40
+# 2011 Aug 27 - adapted to R40b
PRGNAM=mksh
-VERSION=${VERSION:-R40}
+VERSION=${VERSION:-R40b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,10 +69,6 @@ rm -rf $PRGNAM
gzip -dc $CWD/$PRGNAM-$VERSION.cpio.gz | cpio -mid
cd $PRGNAM
-if [ "$UTF8" = "no" ]; then
- CPPFLAGS="${CPPFLAGS} -DMKSH_ASSUME_UTF8=0"
-fi
-
if [ "$STATIC" = "yes" ]; then
LDFLAGS="${LDFLAGS} -static"
CPPFLAGS="${CPPFLAGS} -DMKSH_NOPWNAM"
@@ -105,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/TaC-mksh.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/TaC-mksh.txt > $PKG/usr/doc/$PRGNAM-$VERSION/TaC-mksh.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install