summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-09 19:49:27 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-09 19:49:27 +0100
commit7dc501a664d553e090136f00e9d987395cbdf683 (patch)
treefc0840b85f9dbe5fe4a1a638491b16e2180eb06d
parentnet-libs/udns: Port to EAPI 7 (diff)
downloadgentoo-7dc501a664d553e090136f00e9d987395cbdf683.tar.gz
gentoo-7dc501a664d553e090136f00e9d987395cbdf683.tar.bz2
gentoo-7dc501a664d553e090136f00e9d987395cbdf683.zip
net-libs/sofia-sip: Port to EAPI 7
Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--net-libs/sofia-sip/sofia-sip-1.12.11.ebuild31
1 files changed, 16 insertions, 15 deletions
diff --git a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
index 0cef361a73d..243bb87cbb2 100644
--- a/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
+++ b/net-libs/sofia-sip/sofia-sip-1.12.11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
DESCRIPTION="RFC3261 compliant SIP User-Agent library"
HOMEPAGE="http://sofia-sip.sourceforge.net/"
@@ -10,28 +10,29 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1+ BSD public-domain" # See COPYRIGHT
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ia64 ppc ~ppc64 sparc x86 ~x86-linux"
-IUSE="libressl ssl static-libs"
-
-RDEPEND="dev-libs/glib:2
- ssl? (
- !libressl? ( dev-libs/openssl )
- libressl? ( dev-libs/libressl )
- )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
+IUSE="libressl ssl"
# tests are broken, see bugs 304607 and 330261
RESTRICT="test"
-DOCS=( AUTHORS ChangeLog README README.developers RELEASE TODO )
+RDEPEND="
+ dev-libs/glib:2
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_configure() {
econf \
- $(use_enable static-libs static) \
+ --disable-static \
$(use_with ssl openssl)
}
src_install() {
default
- rm -f "${ED}"usr/lib*/lib${PN}*.la
+ dodoc RELEASE
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
}