From b7e2c856f8ee7c60084aca1f7918b4ad5e345f6b Mon Sep 17 00:00:00 2001 From: Federico Ferri Date: Sat, 8 Aug 2009 13:03:55 +0000 Subject: fix tests, wrt bug 276720 (Portage version: 2.2_rc36/cvs/Linux x86_64) --- dev-tcltk/tkimg/ChangeLog | 6 ++-- .../tkimg/files/tkimg-1.3.20081202-tests.patch | 35 ++++++++++++++++++++++ dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild | 6 ++-- 3 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 dev-tcltk/tkimg/files/tkimg-1.3.20081202-tests.patch (limited to 'dev-tcltk/tkimg') diff --git a/dev-tcltk/tkimg/ChangeLog b/dev-tcltk/tkimg/ChangeLog index ae382f686fe9..3a568aa3d08e 100644 --- a/dev-tcltk/tkimg/ChangeLog +++ b/dev-tcltk/tkimg/ChangeLog @@ -1,10 +1,10 @@ # ChangeLog for dev-tcltk/tkimg # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.7 2009/08/08 03:01:32 mescalinum Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.8 2009/08/08 13:03:55 mescalinum Exp $ 08 Aug 2009; Federico Ferri - tkimg-1.3.20081202.ebuild: - disable tests wrt bug 276720 + tkimg-1.3.20081202.ebuild, +files/tkimg-1.3.20081202-tests.patch: + fix tests, wrt bug 276720 09 Jan 2009; Joseph Jezak tkimg-1.3.20081202.ebuild: Marked ~ppc for bug #253299. diff --git a/dev-tcltk/tkimg/files/tkimg-1.3.20081202-tests.patch b/dev-tcltk/tkimg/files/tkimg-1.3.20081202-tests.patch new file mode 100644 index 000000000000..3e5a1b412516 --- /dev/null +++ b/dev-tcltk/tkimg/files/tkimg-1.3.20081202-tests.patch @@ -0,0 +1,35 @@ +Source: http://sourceforge.net/tracker/index.php?func=detail&aid=2669482&group_id=52039&atid=465492 +$OpenBSD$ +--- Makefile.in.orig Mon Feb 23 01:03:15 2009 ++++ Makefile.in Thu Feb 26 10:53:51 2009 +@@ -103,12 +103,20 @@ all: + test: all + for sub in $(SUBDIRS) ; \ + do \ ++ test -d $(srcdir)/$$sub/tests || continue ; \ + here=`pwd` && \ + cd $$sub && \ +- $(MAKE) test || exit $$? && \ ++ $(MAKE) top_builddir=$$here test || exit $$? && \ + cd $$here ; \ + done + ++install-man: ++ mkdir -p $(MAN_INSTALL_DIR)/mann ++ for i in $(srcdir)/doc/*.man ; \ ++ do \ ++ dtplite -ext n -o $(MAN_INSTALL_DIR)/mann nroff $$i ; \ ++ done ++ + collate: all + rm -f pkgIndex.tcl + touch pkgIndex.tcl +@@ -133,7 +141,7 @@ collate: all + $$p > $$p.1 && mv -f $$p.1 $$p ; \ + done + +-install: collate ++install: collate install-man + mkdir -p $(INSTALL_ROOT)$(LIB_RUNTIME_DIR) + for p in Img/exec_prefix/lib/Img/* ; do \ + $(INSTALL_PROGRAM) $$p $(INSTALL_ROOT)$(LIB_RUNTIME_DIR)/`basename $$p` ; \ diff --git a/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild b/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild index 9c44ee8d239d..7c4d6dcc33cb 100644 --- a/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild +++ b/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild,v 1.3 2009/08/08 03:01:32 mescalinum Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.3.20081202.ebuild,v 1.4 2009/08/08 13:03:55 mescalinum Exp $ inherit eutils @@ -21,11 +21,11 @@ DEPEND="dev-lang/tk media-libs/jpeg media-libs/tiff" -RESTRICT="test" - src_unpack() { unpack ${A} + cd "${S}" epatch "${FILESDIR}"/${P}-systemlibs.patch + epatch "${FILESDIR}"/${P}-tests.patch } src_install() { -- cgit v1.2.3-65-gdbad