sys-process/tini: Do not prestrip the binary
authorManuel Rüger <mrueg@gentoo.org>
Mon, 14 Nov 2016 23:11:17 +0000 (00:11 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 14 Nov 2016 23:11:17 +0000 (00:11 +0100)
Package-Manager: portage-2.3.2

sys-process/tini/tini-0.13.0.ebuild

index 98488eb20f54ee60c763fa1853c817ba372d1512..826d43240347e057ef2c079dc50a045e2d43bcb9 100644 (file)
@@ -7,7 +7,7 @@ EAPI=6
 inherit cmake-utils flag-o-matic
 
 DESCRIPTION="A tiny but valid init for containers"
-HOMEPAGE="https://github.com/krallin/${PN}"
+HOMEPAGE="https://github.com/krallin/tini"
 SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
@@ -18,6 +18,12 @@ IUSE="+args static"
 # vim-core is needed just for the xxd program
 DEPEND="app-editors/vim-core"
 
+src_prepare() {
+       default
+       # Do not strip binary
+       sed -i -e 's/-Wl,-s")$/")/' CMakeLists.txt || die
+}
+
 src_configure() {
        local mycmakeargs=()
        use args || mycmakeargs+=(-DMINIMAL=ON)