summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-21 01:24:18 -0400
committerSam James <sam@gentoo.org>2024-03-21 05:57:41 +0000
commit6a42b33476b2ecadc8ac24c32d2570ead5175ce4 (patch)
treeb67e1bf940d67e92311b91b7121446c9314040c8 /sci-electronics/geda
parentsci-electronics/geda: remove outdated seds (diff)
downloadgentoo-6a42b33476b2ecadc8ac24c32d2570ead5175ce4.tar.gz
gentoo-6a42b33476b2ecadc8ac24c32d2570ead5175ce4.tar.bz2
gentoo-6a42b33476b2ecadc8ac24c32d2570ead5175ce4.zip
sci-electronics/geda: remove useless USE conditionals that never fired
For several reasons, this effort to control examples/docs via sed'ing out Makefile.in did not work: - the seds didn't apply - the Makefile.in was ignored because it was regenerated via eautoreconf ... and also useless our outright wrong. The examples are 548kb, and the docs are 156kb. Small files shouldn't be gated on USE flags. But also, the docs USE flag was attempting to remove the part of the build system that caused man pages to be shipped, in addition to the HTML versions of the man pages. This must never be done, manpages are too important. See QA Policy Guide 0305. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics/geda')
-rw-r--r--sci-electronics/geda/geda-1.10.2-r2.ebuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/sci-electronics/geda/geda-1.10.2-r2.ebuild b/sci-electronics/geda/geda-1.10.2-r2.ebuild
index 3ced4354e46f..4d2d3cab6699 100644
--- a/sci-electronics/geda/geda-1.10.2-r2.ebuild
+++ b/sci-electronics/geda/geda-1.10.2-r2.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
-IUSE="debug examples fam nls"
+IUSE="debug fam nls"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
@@ -57,13 +57,6 @@ src_prepare() {
default
rm -r xorn || die
- if ! use doc ; then
- sed -i -e '/^SUBDIRS = /s/docs//' Makefile.in || die
- fi
- if ! use examples ; then
- sed -i -e 's/\texamples$//' Makefile.in || die
- fi
-
# remove compressed files, compressed by portage in install phase
rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die