summaryrefslogtreecommitdiff
path: root/sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-03-13 19:08:45 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-13 19:08:45 +0100
commitace72060046040fef1be9214749de3e62da7a5bc (patch)
treea0fa8b82eb04c400af3dce194d65ceb83e284a8f /sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch
parentc052229f15357863a90206fafe9e9352264d3047 (diff)
downloadgentoo-ace72060046040fef1be9214749de3e62da7a5bc.tar.gz
gentoo-ace72060046040fef1be9214749de3e62da7a5bc.tar.bz2
gentoo-ace72060046040fef1be9214749de3e62da7a5bc.zip
sci-visualization/quickplot: Port to EAPI 7
Bug: https://bugs.gentoo.org/611218 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch')
-rw-r--r--sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch b/sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch
new file mode 100644
index 000000000000..e88259f0bd24
--- /dev/null
+++ b/sci-visualization/quickplot/files/quickplot-1.0.1_rc-automake.patch
@@ -0,0 +1,22 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -193,7 +193,7 @@
+ endif
+
+ # We look at a sndfile symbol when libquickplot runs
+-libquickplot_la_LIBADD = $(sndfile_LIBS)
++libquickplot_la_LIBADD = $(sndfile_LIBS) -lm
+
+ if QP_DEBUG
+ libquickplot_la_SOURCES += debug_spew.c
+@@ -336,8 +336,8 @@
+ if HAVE_LOCAL_SCREENSHOTS
+
+ install-exec-hook:
+- mkdir -p $(htmldir)
+- cp ScreenShot_* _ScreenShot_* $(htmldir)
++ mkdir -p $(DESTDIR)$(htmldir)
++ cp ScreenShot_* _ScreenShot_* $(DESTDIR)$(htmldir)
+
+ thumbs.htm: mk_thumbs.htm.bash
+ ./mk_thumbs.htm.bash > $@