From 7b0628f037dcbf85cfb381d5e05dea39a2059d33 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 25 May 2022 22:50:03 +0100 Subject: fixed various broken dependencies --- repo/x11/motif/motif.xibuild | 17 +++++++++++++---- repo/x11/motif/update-automake.patch | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 repo/x11/motif/update-automake.patch (limited to 'repo/x11/motif') 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 \ diff --git a/repo/x11/motif/update-automake.patch b/repo/x11/motif/update-automake.patch new file mode 100644 index 0000000..3a69a0e --- /dev/null +++ b/repo/x11/motif/update-automake.patch @@ -0,0 +1,18 @@ +--- build/configure.ac 2022-05-24 14:36:41.034651348 +0100 ++++ build2/configure.ac 2022-05-24 14:35:31.484247422 +0100 +@@ -1,5 +1,5 @@ + dnl Process this file with autoconf to produce a configure script. +-AC_INIT(motif,2.3.8,no-define) ++AC_INIT + AC_CONFIG_SRCDIR([lib/Xm/Form.c]) + AC_PREREQ(2.52) + AC_CONFIG_AUX_DIR(.) +@@ -22,7 +22,7 @@ + AC_SUBST(AGE) + + dnl This is really dumb but it seems to be bug +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE(motif,2.3.8,no-define) + + LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE + -- cgit v1.2.1