summaryrefslogtreecommitdiff
path: root/repo/x11/motif/motif.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
committerdavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
commit7b0628f037dcbf85cfb381d5e05dea39a2059d33 (patch)
tree4a534ef861d19cdf5235b504af5be2a5d0becb71 /repo/x11/motif/motif.xibuild
parent79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (diff)
fixed various broken dependencies
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 \