diff options
Diffstat (limited to 'dev-util/valgrind/valgrind-9999.ebuild')
-rw-r--r-- | dev-util/valgrind/valgrind-9999.ebuild | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dev-util/valgrind/valgrind-9999.ebuild b/dev-util/valgrind/valgrind-9999.ebuild index 35e98ebeba1d..26eb51e592fd 100644 --- a/dev-util/valgrind/valgrind-9999.ebuild +++ b/dev-util/valgrind/valgrind-9999.ebuild @@ -18,9 +18,15 @@ if [[ ${PV} == 9999 ]]; then else VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/valgrind.gpg inherit verify-sig - SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2" - SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )" - KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + + MY_P="${P/_rc/.RC}" + SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2" + SRC_URI+=" verify-sig? ( https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )" + S="${WORKDIR}"/${MY_P} + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + fi fi LICENSE="GPL-2" @@ -105,6 +111,11 @@ src_configure() { econf "${myconf[@]}" } +src_test() { + # fxsave.o, tronical.o have textrels + emake LDFLAGS="${LDFLAGS} -Wl,-z,notext" check +} + src_install() { default |