summaryrefslogtreecommitdiff
path: root/source/x/motif/motif.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/motif/motif.SlackBuild')
-rwxr-xr-xsource/x/motif/motif.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/x/motif/motif.SlackBuild b/source/x/motif/motif.SlackBuild
index 99ab20a3..e7f6f005 100755
--- a/source/x/motif/motif.SlackBuild
+++ b/source/x/motif/motif.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=motif
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -f 2 -d - | cut -f 1-3 -d .)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -127,6 +127,11 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Include mwm xinitrc
+mkdir -p $PKG/etc/X11/xinit
+zcat $CWD/xinitrc.mwm.gz > $PKG/etc/X11/xinit/xinitrc.mwm
+chmod 0755 $PKG/etc/X11/xinit/xinitrc.mwm
+
# This conflicts with a perl manpage:
mv $PKG/usr/man/man3/Shell.3 $PKG/usr/man/man3/omShell.3