summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-28 16:22:48 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-28 16:23:46 +0100
commitd65af065b6f29c9dd21933bd867a313eb9f57c3d (patch)
treebe281af8d4d1da46c66caf0a51e362e25ea35514 /app-cdr
parentapp-cdr/xfburn: Bump to 0.7.0 (diff)
downloadgentoo-d65af065b6f29c9dd21933bd867a313eb9f57c3d.tar.gz
gentoo-d65af065b6f29c9dd21933bd867a313eb9f57c3d.tar.bz2
gentoo-d65af065b6f29c9dd21933bd867a313eb9f57c3d.zip
app-cdr/xfburn: Fix bashism in configure
Closes: https://bugs.gentoo.org/917576 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/xfburn/xfburn-0.6.2.ebuild9
-rw-r--r--app-cdr/xfburn/xfburn-0.7.0.ebuild7
2 files changed, 15 insertions, 1 deletions
diff --git a/app-cdr/xfburn/xfburn-0.6.2.ebuild b/app-cdr/xfburn/xfburn-0.6.2.ebuild
index 35265059a8d2..9c4343ec1b57 100644
--- a/app-cdr/xfburn/xfburn-0.6.2.ebuild
+++ b/app-cdr/xfburn/xfburn-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,6 +29,13 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
+src_prepare() {
+ # fix bashism
+ # https://gitlab.xfce.org/apps/xfburn/-/merge_requests/36
+ sed -i -e 's:== x:= x:' configure || die
+ default
+}
+
src_configure() {
local myconf=(
$(use_enable udev gudev)
diff --git a/app-cdr/xfburn/xfburn-0.7.0.ebuild b/app-cdr/xfburn/xfburn-0.7.0.ebuild
index b9f5ce9ee725..6084c83e8b8c 100644
--- a/app-cdr/xfburn/xfburn-0.7.0.ebuild
+++ b/app-cdr/xfburn/xfburn-0.7.0.ebuild
@@ -39,6 +39,13 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ # fix bashism
+ # https://gitlab.xfce.org/apps/xfburn/-/merge_requests/36
+ sed -i -e 's:== x:= x:' configure || die
+ default
+}
+
src_configure() {
local myconf=(
$(use_enable udev gudev)