diff options
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-1.9.20151008.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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 \ |