net-misc/connman-json-client: revbump to respect CFLAGS, drop old
authorBen Kohler <bkohler@gentoo.org>
Mon, 25 May 2020 12:37:38 +0000 (07:37 -0500)
committerBen Kohler <bkohler@gentoo.org>
Mon, 25 May 2020 12:37:51 +0000 (07:37 -0500)
Closes: https://bugs.gentoo.org/725092
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild [moved from net-misc/connman-json-client/connman-json-client-1.0_p20150721-r1.ebuild with 94% similarity]
net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild [deleted file]

similarity index 94%
rename from net-misc/connman-json-client/connman-json-client-1.0_p20150721-r1.ebuild
rename to net-misc/connman-json-client/connman-json-client-1.0_p20150721-r2.ebuild
index 71df6bec799875713d398761fd6e293f71b7cad1..2fe35cf86af6b435e3ef5d63ce1afc6c94690c95 100644 (file)
@@ -28,6 +28,10 @@ src_prepare() {
        eautoreconf
 }
 
+src_compile() {
+       emake CFLAGS="${CFLAGS}"
+}
+
 src_install() {
        default
        dobin connman_ncurses
diff --git a/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild b/net-misc/connman-json-client/connman-json-client-1.0_p20150721.ebuild
deleted file mode 100644 (file)
index 72908de..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools vcs-snapshot
-COMMIT="3c34b2ee62d2e188090d20e7ed2fd94bab9c47f2"
-
-DESCRIPTION="An ncurses UI for connman"
-HOMEPAGE="https://github.com/eurogiciel-oss/connman-json-client"
-SRC_URI="https://github.com/eurogiciel-oss/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/json-c:0=
-       >=sys-apps/dbus-1.4
-       sys-libs/ncurses:0"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-       sed -i -e '/^AM_CFLAGS/ s/ -Werror$//' Makefile.am || die
-       default
-       eautoreconf
-}
-
-src_install() {
-       default
-       dobin connman_ncurses
-}