summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-23 15:05:38 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-23 15:08:52 +0200
commit84849e1d8e53a0ea6d4585497be59ef6301c94e6 (patch)
tree245e39af42967528cca961c7632537a17d89d77d /x11-libs/qwt
parentnet-misc/openssh: Removed old (diff)
downloadgentoo-84849e1d8e53a0ea6d4585497be59ef6301c94e6.tar.gz
gentoo-84849e1d8e53a0ea6d4585497be59ef6301c94e6.tar.bz2
gentoo-84849e1d8e53a0ea6d4585497be59ef6301c94e6.zip
x11-libs/qwt: add missing die on the heredocs
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r--x11-libs/qwt/qwt-5.2.3_p20210211.ebuild6
-rw-r--r--x11-libs/qwt/qwt-6.1.5.ebuild8
2 files changed, 7 insertions, 7 deletions
diff --git a/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild b/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild
index 3e01139e4af2..5762259d2e39 100644
--- a/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild
+++ b/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild
@@ -33,7 +33,7 @@ src_prepare() {
default
sed -e "/QwtVersion/s:5.2.2.:${PV/_*}:g" -i ${PN}.prf || die
- cat > qwtconfig.pri <<-EOF
+ cat > qwtconfig.pri <<-EOF || die
target.path = "${EPREFIX}/usr/$(get_libdir)"
headers.path = "${EPREFIX}/usr/include/qwt5"
doc.path = "${EPREFIX}/usr/share/doc/${PF}"
@@ -46,7 +46,7 @@ src_prepare() {
# Fails to compile with MathML enabled
#use mathml && echo "CONFIG += QwtMathML" >> qwtconfig.pri
- cat >> qwtconfig.pri <<-EOF
+ cat >> qwtconfig.pri <<-EOF || die
QWT_INSTALL_PLUGINS = "${EPREFIX}$(qt5_get_plugindir)/designer"
QWT_INSTALL_FEATURES = "${EPREFIX}$(qt5_get_mkspecsdir)/features"
EOF
@@ -68,7 +68,7 @@ src_install () {
if use examples; then
# don't build examples - fix the qt files to build once installed
- cat > examples/examples.pri <<-EOF
+ cat > examples/examples.pri <<-EOF || die
include( qwtconfig.pri )
TEMPLATE = app
MOC_DIR = moc
diff --git a/x11-libs/qwt/qwt-6.1.5.ebuild b/x11-libs/qwt/qwt-6.1.5.ebuild
index fccc45df62b7..96d8e6a1750a 100644
--- a/x11-libs/qwt/qwt-6.1.5.ebuild
+++ b/x11-libs/qwt/qwt-6.1.5.ebuild
@@ -39,7 +39,7 @@ PATCHES=(
src_prepare() {
default
- cat > qwtconfig.pri <<-EOF
+ cat > qwtconfig.pri <<-EOF || die
QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)"
QWT_INSTALL_HEADERS = "${EPREFIX}/usr/include/qwt6"
QWT_INSTALL_DOCS = "${EPREFIX}/usr/share/doc/${PF}"
@@ -53,13 +53,13 @@ src_prepare() {
use opengl && echo "QWT_CONFIG += QwtOpenGL" >> qwtconfig.pri
use svg && echo "QWT_CONFIG += QwtSvg" >> qwtconfig.pri
- cat > qwtbuild.pri <<-EOF
+ cat > qwtbuild.pri <<-EOF || die
QWT_CONFIG += qt warn_on thread release no_keywords
EOF
echo "QWT_CONFIG += QwtDll" >> qwtconfig.pri
- cat >> qwtconfig.pri <<-EOF
+ cat >> qwtconfig.pri <<-EOF || die
QWT_INSTALL_PLUGINS = "${EPREFIX}$(qt5_get_plugindir)/designer"
QWT_INSTALL_FEATURES = "${EPREFIX}$(qt5_get_mkspecsdir)/features"
EOF
@@ -113,7 +113,7 @@ src_install() {
if use examples; then
# don't build examples - fix the qt files to build once installed
- cat > examples/examples.pri <<-EOF
+ cat > examples/examples.pri <<-EOF || die
include( qwtconfig.pri )
TEMPLATE = app
MOC_DIR = moc