From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/librouteros/files/, net-libs/librouteros/
Date: Sun, 5 Jun 2022 15:05:40 +0000 (UTC) [thread overview]
Message-ID: <1654441494.7560f7f8272639ac6b09398dadf33ad5d0cce838.conikost@gentoo> (raw)
commit: 7560f7f8272639ac6b09398dadf33ad5d0cce838
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 15:04:54 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 15:04:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7560f7f8
net-libs/librouteros: EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/librouteros-1.1.2-remove-Werror.patch | 11 -----------
...brouteros-1.1.2.ebuild => librouteros-1.1.2-r1.ebuild} | 15 ++++++---------
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch b/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch
deleted file mode 100644
index b3f005a4be3a..000000000000
--- a/net-libs/librouteros/files/librouteros-1.1.2-remove-Werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,7 +1,7 @@
- AUTOMAKE_OPTIONS = foreign no-dependencies
-
- if COMPILER_IS_GCC
--AM_CFLAGS = -Wall -Werror
-+AM_CFLAGS = -Wall
- if BUILD_WITH_DEBUG
- AM_CFLAGS += -Wextra -g -O0
- endif
diff --git a/net-libs/librouteros/librouteros-1.1.2.ebuild b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
similarity index 59%
rename from net-libs/librouteros/librouteros-1.1.2.ebuild
rename to net-libs/librouteros/librouteros-1.1.2-r1.ebuild
index a6be5fce2804..1dcb908abd88 100644
--- a/net-libs/librouteros/librouteros-1.1.2.ebuild
+++ b/net-libs/librouteros/librouteros-1.1.2-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
DESCRIPTION="Library for accessing MikroTik's RouterOS via its API"
-HOMEPAGE="http://verplant.org/librouteros/"
-SRC_URI="http://verplant.org/librouteros/files/${P}.tar.bz2"
+HOMEPAGE="https://verplant.org/librouteros/"
+SRC_URI="https://verplant.org/librouteros/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -17,10 +17,9 @@ IUSE="debug"
RDEPEND="dev-libs/libgcrypt:0="
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${P}-remove-Werror.patch )
-
src_prepare() {
default
+ sed -e 's/-Werror//g' -i src/Makefile.am || die
eautoreconf
}
@@ -30,7 +29,5 @@ src_configure() {
src_install() {
default
-
- # no static archives
- find "${D}" -name '*.la' -delete || die
+ find "${D}" -name '*.la' -type f -delete || die
}
next reply other threads:[~2022-06-05 15:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-05 15:05 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-09 18:50 [gentoo-commits] repo/gentoo:master commit in: net-libs/librouteros/files/, net-libs/librouteros/ David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1654441494.7560f7f8272639ac6b09398dadf33ad5d0cce838.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox