summaryrefslogtreecommitdiff
path: root/system/mksh/mksh.SlackBuild
diff options
context:
space:
mode:
authormarkus reichelt <slackbuilds@mareichelt.de>2011-09-05 21:57:43 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-09-05 23:03:07 -0500
commitc18a7770aa2528fdd69a6055edc7e19a4f6540a3 (patch)
tree5a699d75c512ff08f623b4b06b167bad2d1aa606 /system/mksh/mksh.SlackBuild
parent8cdbea3336654750f0fa512799c4970c82331c6c (diff)
downloadslackbuilds-c18a7770aa2528fdd69a6055edc7e19a4f6540a3.tar.gz
system/mksh: Updated for version R40b.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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