lesstif: don't build mwm

Thanks to pitillo for reporting.
This commit is contained in:
Antti Nykanen 2008-06-17 18:39:42 +03:00
parent c2ba446ca5
commit 3d582f4307
4 changed files with 22 additions and 10 deletions

View File

@ -182,7 +182,6 @@ drwxr-xr-x root/root usr/lib/LessTif/config/
-rw-r--r-- root/root usr/lib/LessTif/config/LessTif.rules
-rw-r--r-- root/root usr/lib/LessTif/config/LessTif.tmpl
-rw-r--r-- root/root usr/lib/LessTif/config/host.def
drwxr-xr-x root/root usr/lib/X11/
-rwxr-xr-x root/root usr/lib/libMrm.la
lrwxrwxrwx root/root usr/lib/libMrm.so -> libMrm.so.2.0.1
lrwxrwxrwx root/root usr/lib/libMrm.so.2 -> libMrm.so.2.0.1

View File

@ -1,3 +1,4 @@
2aa80ecd7ffb27de50e0562dbe4302aa lesstif-0.95.0-disable_mwm.patch
4f0720e1597631fc31c2b14d7346e74a lesstif-0.95.0-libxpm.patch
42adb1b2da3652c3fec182c9188ebfb2 lesstif-0.95.0-vendorsp.patch
ab895165c149d7f95843c7584b1c7ad4 lesstif-0.95.0.tar.bz2

View File

@ -5,15 +5,17 @@
name=lesstif
version=0.95.0
release=2
source=(http://dl.sf.net/lesstif/lesstif-$version.tar.bz2
lesstif-$version-libxpm.patch
lesstif-$version-vendorsp.patch)
release=3
source=(http://dl.sf.net/$name/lesstif-$version.tar.bz2
$name-$version-libxpm.patch
$name-$version-vendorsp.patch
$name-$version-disable_mwm.patch)
build() {
cd lesstif-$version
patch -p0 -i $SRC/lesstif-$version-libxpm.patch
patch -p0 -i $SRC/lesstif-$version-vendorsp.patch
cd $name-$version
patch -p0 -i $SRC/$name-$version-libxpm.patch
patch -p0 -i $SRC/$name-$version-vendorsp.patch
patch -p0 -i $SRC/$name-$version-disable_mwm.patch
./configure \
--prefix=/usr \
--enable-nonstandard-conversions \
@ -27,7 +29,6 @@ build() {
rm $PKG/usr/include/Xm/Print{SP,}.h
sed -i -e 's/.*Print.h.*//' $PKG/usr/include/Xm/XmAll.h
rm -rf $PKG/usr/LessTif $PKG/usr/bin/mwm \
$PKG/usr/lib/X11/{app-defaults,mwm} \
rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \
$PKG/usr/man/man{1/mwm.1,5/mwmrc.5}
}

View File

@ -0,0 +1,11 @@
--- clients/Motif-2.1/Makefile.in~ 2008-06-17 18:17:50.845050248 +0300
+++ clients/Motif-2.1/Makefile.in 2008-06-17 18:17:55.406361652 +0300
@@ -243,7 +243,7 @@
xmREVISION = @xmREVISION@
xmVERSION = @xmVERSION@
xmVer = @xmVer@
-SUBDIRS = mwm xmbind uil
+SUBDIRS = xmbind uil
MAINTAINERCLEANFILES = Makefile.in
all: all-recursive