summaryrefslogtreecommitdiff
path: root/repo/x11/motif/motif.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/x11/motif/motif.xibuild')
-rw-r--r--repo/x11/motif/motif.xibuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/repo/x11/motif/motif.xibuild b/repo/x11/motif/motif.xibuild
index a283ca0..7d08648 100644
--- a/repo/x11/motif/motif.xibuild
+++ b/repo/x11/motif/motif.xibuild
@@ -22,13 +22,22 @@ ADDITIONAL="
15-link_uil_against_libuil.patch
16-fix-undefined-use-of-sprintf.patch
17-switch-to-system-iswspace.patch
-18-option-main.patch"
+18-option-main.patch
+update-automake.patch
+"
-#prepare () {
-# apply_patches
-#}
+prepare () {
+ apply_patches
+ # dont build demos
+ sed -i '30s/\\//' Makefile.am
+ sed -i '31d' Makefile.am
+
+ touch NEWS AUTHORS
+ autoreconf -fi
+}
build () {
+ export LDFLAGS="$LDFLAGS -lX11"
./configure \
--prefix=/usr \
--bindir=/usr/bin \