summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/spyview/files/spyview-no-user-dirs.patch15
-rw-r--r--sci-visualization/spyview/spyview-2018.12.24.ebuild7
-rw-r--r--sci-visualization/spyview/spyview-9999.ebuild7
3 files changed, 25 insertions, 4 deletions
diff --git a/sci-visualization/spyview/files/spyview-no-user-dirs.patch b/sci-visualization/spyview/files/spyview-no-user-dirs.patch
new file mode 100644
index 000000000000..0cae5571a137
--- /dev/null
+++ b/sci-visualization/spyview/files/spyview-no-user-dirs.patch
@@ -0,0 +1,15 @@
+diff --git a/source/configure.ac b/source/configure.ac
+index f1d777f..6790257 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,7 +4,9 @@ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE(subdir-objects)
+ AC_CONFIG_SRCDIR([spyview/ImageWindow.C])
+ AC_CONFIG_HEADER([config.h])
+-USER_DIRS
++
++# No idea what this is supposed to do or call...
++# USER_DIRS
+
+ # For local macros
+ AC_CONFIG_MACRO_DIR([m4])
diff --git a/sci-visualization/spyview/spyview-2018.12.24.ebuild b/sci-visualization/spyview/spyview-2018.12.24.ebuild
index 887b1f8e05b1..6dcdb79c891f 100644
--- a/sci-visualization/spyview/spyview-2018.12.24.ebuild
+++ b/sci-visualization/spyview/spyview-2018.12.24.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
COMMON_DEPEND="
dev-libs/boost:=
@@ -34,6 +33,10 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
sci-visualization/gnuplot"
+PATCHES=(
+ "${FILESDIR}/spyview-no-user-dirs.patch"
+)
+
src_unpack() {
if [[ ${PV} == *9999* ]] ; then
git-r3_src_unpack
diff --git a/sci-visualization/spyview/spyview-9999.ebuild b/sci-visualization/spyview/spyview-9999.ebuild
index e5448ad183e5..ca495102a00e 100644
--- a/sci-visualization/spyview/spyview-9999.ebuild
+++ b/sci-visualization/spyview/spyview-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE=""
COMMON_DEPEND="
dev-libs/boost:=
@@ -34,6 +33,10 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
sci-visualization/gnuplot"
+PATCHES=(
+ "${FILESDIR}/spyview-no-user-dirs.patch"
+)
+
src_unpack() {
if [[ ${PV} == *9999* ]] ; then
git-r3_src_unpack