mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-libs/antlr-c: multilib--, static-libs--
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils autotools multilib-minimal
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
MY_PN="${PN%-c}"
|
||||
DESCRIPTION="The ANTLR3 C Runtime"
|
||||
HOMEPAGE="https://www.antlr3.org/"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug debugger doc static-libs"
|
||||
IUSE="debug debugger doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen[dot] )"
|
||||
RDEPEND=""
|
||||
BDEPEND="doc? ( app-doc/doxygen[dot] )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C"
|
||||
PATCHES=( "${FILESDIR}/3.5-cflags.patch" )
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/antlr3config.h )
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
@@ -32,9 +32,9 @@ src_prepare() {
|
||||
multilib_src_configure() {
|
||||
local econfargs=(
|
||||
--enable-shared
|
||||
--disable-static
|
||||
$(use_enable debug debuginfo)
|
||||
$(use_enable debugger antlrdebug)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
case "${ABI}" in
|
||||
@@ -58,6 +58,8 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=( "${S}/api/" )
|
||||
|
||||
multilib-minimal_src_install
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
diff -ur libantlr3c-3.3-SNAPSHOT.old//configure.ac libantlr3c-3.3-SNAPSHOT/configure.ac
|
||||
--- libantlr3c-3.3-SNAPSHOT.old//configure.ac 2011-04-03 10:40:51.277000042 +0300
|
||||
+++ libantlr3c-3.3-SNAPSHOT/configure.ac 2011-04-03 10:41:22.092000042 +0300
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -134,8 +134,8 @@
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user