summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnatspec/libnatspec-0.3.0.ebuild')
-rw-r--r--dev-libs/libnatspec/libnatspec-0.3.0.ebuild27
1 files changed, 16 insertions, 11 deletions
diff --git a/dev-libs/libnatspec/libnatspec-0.3.0.ebuild b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
index 02722757df79..958d7b084fb2 100644
--- a/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
+++ b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
@@ -14,25 +14,30 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
IUSE="doc"
-RDEPEND="
- dev-libs/popt
-"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.6-iconv.patch
+ "${FILESDIR}"/${PN}-0.3.0-bashisms.patch
+ "${FILESDIR}"/${PN}-0.3.0-doxygen.patch
)
src_prepare() {
default
- # regenerate to fix imcompatible readlink usage
- rm -f "${S}"/ltmain.sh "${S}"/libtool || die
+ # regenerate to fix incompatible readlink usage
eautoreconf
}
src_configure() {
- use doc || export ac_cv_prog_DOX=no
# braindead configure script does not disable python on --without-python
- econf
+ econf $(use_with doc doxygen)
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
}