From ec4aef14fbed3bc0aa7b990aa60242d0782e1061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 16 Oct 2015 13:55:45 +0200 Subject: net-libs/miniupnpc-1.9.20151008: reduce SONAME Reduce the installed library SONAME since upstream bumped it unnecessarily when performing backwards-compatible API change. At least once we're saved from rebuilding every reverse dependency. Package-Manager: portage-2.2.23 --- net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'net-libs/miniupnpc') diff --git a/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild index b1a0589a45b..7cc7e66c31c 100644 --- a/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild +++ b/net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="http://miniupnp.free.fr/" SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" LICENSE="BSD" -SLOT="0/15" +SLOT="0/14" KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="ipv6 kernel_linux static-libs" @@ -22,7 +22,10 @@ src_prepare() { epatch_user # These bins are not installed, upnpc-static requires building static lib - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die + # Reduce APIVERSION used to build SONAME since last API change was + # backwards compatible to surprise of all the universe. + sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' \ + -e '/APIVERSION/s:15:14:' Makefile || die if ! use static-libs; then sed -i \ -- cgit v1.2.1