summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-12-21 05:12:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-12-21 05:12:14 +0000
commitc31515690919b8baf738a9395b072bbca4830f8a (patch)
treee68739dbf179beca690de0cbeec9f3dcfbbb2f9a /games-board
parentgnome-1.x removal (diff)
downloadgentoo-2-c31515690919b8baf738a9395b072bbca4830f8a.tar.gz
gentoo-2-c31515690919b8baf738a9395b072bbca4830f8a.tar.bz2
gentoo-2-c31515690919b8baf738a9395b072bbca4830f8a.zip
Add configure-fixup patch from Ali Polatel (bug #158488)
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xboard/ChangeLog6
-rw-r--r--games-board/xboard/files/xboard-4.2.7-xaw3d_configure.patch24
-rw-r--r--games-board/xboard/xboard-4.2.7-r1.ebuild13
3 files changed, 37 insertions, 6 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog
index c576a1f356c0..be368108d66d 100644
--- a/games-board/xboard/ChangeLog
+++ b/games-board/xboard/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/xboard
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.12 2006/12/12 22:40:27 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.13 2006/12/21 05:12:14 mr_bones_ Exp $
+
+ 21 Dec 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/xboard-4.2.7-xaw3d_configure.patch, xboard-4.2.7-r1.ebuild:
+ Add configure-fixup patch from Ali Polatel (bug #158488)
*xboard-4.2.7-r1 (12 Dec 2006)
diff --git a/games-board/xboard/files/xboard-4.2.7-xaw3d_configure.patch b/games-board/xboard/files/xboard-4.2.7-xaw3d_configure.patch
new file mode 100644
index 000000000000..1d04f177c910
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.2.7-xaw3d_configure.patch
@@ -0,0 +1,24 @@
+--- configure.in 2003-11-27 21:49:24.000000000 +0200
++++ configure-fixed.in 2006-12-21 02:41:35.000000000 +0200
+@@ -35,10 +35,17 @@
+ AC_PATH_PROGS(AWKPATH, awk mawk gawk nawk)
+ AC_PATH_PROGS(PERLPATH, perl)
+
+-AC_ARG_WITH(Xaw3d, [ --with-Xaw3d use Xaw3d instead of Xaw],
+- [AC_DEFINE(USE_XAW3D)
+- XAW_LIBS="-lXaw3d"],
+- XAW_LIBS="-lXaw")
++AC_ARG_WITH(Xaw3d,
++[ --with-Xaw3d use Xaw3d instead of Xaw],
++[ with_xaw3d="$withval"], [enable_xaw3d="no"])
++
++if test "$withval" = yes; then
++ AC_DEFINE(USE_XAW3D)
++ XAW_LIBS="-lXaw3d"
++else
++ XAW_LIBS="-lXaw"
++fi
++
+ AC_SUBST(XAW_LIBS)
+
+ AC_HEADER_STDC
diff --git a/games-board/xboard/xboard-4.2.7-r1.ebuild b/games-board/xboard/xboard-4.2.7-r1.ebuild
index 131f26657e17..bb1b58da2fcc 100644
--- a/games-board/xboard/xboard-4.2.7-r1.ebuild
+++ b/games-board/xboard/xboard-4.2.7-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.2.7-r1.ebuild,v 1.1 2006/12/12 22:40:27 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.2.7-r1.ebuild,v 1.2 2006/12/21 05:12:14 mr_bones_ Exp $
-inherit eutils games
+inherit autotools eutils games
DESCRIPTION="GUI for gnuchess and for internet chess servers"
HOMEPAGE="http://www.tim-mann.org/xboard.html"
@@ -31,16 +31,19 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}*
+ eautoreconf
}
src_compile() {
- egamesconf $(use_with Xaw3d) \
- $(use_enable zippy) || die "econf failed"
+ egamesconf \
+ $(use_with Xaw3d) \
+ $(use_enable zippy) \
+ || die
emake || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc FAQ READ_ME ToDo ChangeLog*
use zippy && dodoc zippy.README
dohtml FAQ.html