From 4eb176b0705967339395c9b525d69c3d8d385fce Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Tue, 12 Oct 2021 00:00:42 +0200 Subject: motif package: fix linking the simple_app demo program (#26574) --- var/spack/repos/builtin/packages/motif/package.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/motif/package.py b/var/spack/repos/builtin/packages/motif/package.py index f2c5eed5e9..d60cc4201c 100644 --- a/var/spack/repos/builtin/packages/motif/package.py +++ b/var/spack/repos/builtin/packages/motif/package.py @@ -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): -- cgit v1.2.3-70-g09d2