dev-libs/udis86: Drop 1.7-r2, EAPI5--

Closes: https://bugs.gentoo.org/768576
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-03-12 16:37:21 +01:00
parent 409321d547
commit 35ab4e9a03
3 changed files with 0 additions and 74 deletions
-1
View File
@@ -1,2 +1 @@
DIST udis86-1.7.2.tar.gz 445085 BLAKE2B 0e67a1ae28688a5febdb4502714a6d99b1fda9028470bac1ecf9314d33c2f081726e3706e9616f352fbf1561283429cb96b92ea4a88e454ec21eadc84bb336d8 SHA512 8cb35d70ac020cd74ced22252aa735a266e5db98d89df565a560baa4ace0cd730e9db838241b70c3b93c27d6b2c75a88edf9c357c864d0f0104323925371c96f
DIST udis86-1.7.tar.gz 696651 BLAKE2B 5d0a97e06b6bc7b263b6f080e12f832d4bfc9a4791a495e49cd2f4ee6d37d13e593891e02fe9ee3c3fb5e7ec23bf25ae7aa1dccd1f95b5c003f6a6e45bbb7f8d SHA512 df0f802d4c0cf6b39b5b996cfd721cb7d0bdd1b0e2f2f7bcb7165514541b94d795c653e885d9f928d9a27f19464ed6fa948f4315fc1f3887079201fcbb2a241e
@@ -1,35 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,9 @@
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
+AC_PATH_PROG([YASM], yasm,)
+AC_SUBST(YASM)
+
# If this is a gnu compiler, pass -Wall
if test "$ac_cv_c_compiler_gnu" = "yes"; then
CFLAGS="$CFLAGS -Wall"
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,7 +10,7 @@
ovrrun_LDADD = ../libudis86/libudis86.la
ovrrun_CFLAGS = -I$(top_srcdir)/libudis86 -I$(top_srcdir)
-YASM = yasm
+YASM = @YASM@
dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \
testjmp.ref testobscure.ref randtest.raw randtest16.ref \
@@ -18,7 +18,10 @@
check-local: tests
-tests: test16 test32 test64 testjmp bufovrrun randraw
+yasm_tests: test16 test32 test64 testjmp
+no_yasm_tests: bufovrrun randraw
+
+tests: $(if $(YASM), yasm_tests) no_yasm_tests
test16: gen
$(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm
-38
View File
@@ -1,38 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_AUTORECONF=1
inherit autotools-multilib eutils
DESCRIPTION="Disassembler library for the x86/-64 architecture sets"
HOMEPAGE="http://udis86.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~ppc64 ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="test? (
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
x86-fbsd? ( dev-lang/yasm )
)"
RDEPEND=""
PATCHES=(
"${FILESDIR}"/${P}-yasm.patch
)
src_configure() {
local myeconfargs=(
--disable-static
--enable-shared
--with-pic
)
autotools-multilib_src_configure
}