motif package: fix linking the simple_app demo program (#26574)

This commit is contained in:
Bernhard Kaindl 2021-10-12 00:00:42 +02:00 committed by GitHub
parent 95e63e0c29
commit 4eb176b070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,13 @@ class Motif(AutotoolsPackage):
patch('add_xbitmaps_dependency.patch')
def patch(self):
# fix linking the simple_app demo program
# https://bugs.launchpad.net/ubuntu/+source/openmotif/+bug/705294
filter_file('../../../lib/Exm/libExm.a',
'../../../lib/Exm/libExm.a -lX11',
'demos/programs/Exm/simple_app/Makefile.am')
def autoreconf(self, spec, prefix):
autoreconf = which('autoreconf')
with working_dir(self.configure_directory):