diff options
author | Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-10-12 00:00:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 15:00:42 -0700 |
commit | 4eb176b0705967339395c9b525d69c3d8d385fce (patch) | |
tree | 736bc83e7f3fa2cf2459363a45415fc1b301b72f /var | |
parent | 95e63e0c29f2ca660354e75783bb62a39e0cd49e (diff) | |
download | spack-4eb176b0705967339395c9b525d69c3d8d385fce.tar.gz spack-4eb176b0705967339395c9b525d69c3d8d385fce.tar.bz2 spack-4eb176b0705967339395c9b525d69c3d8d385fce.tar.xz spack-4eb176b0705967339395c9b525d69c3d8d385fce.zip |
motif package: fix linking the simple_app demo program (#26574)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/motif/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
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): |