diff options
-rw-r--r-- | games-puzzle/construo/ChangeLog | 11 | ||||
-rw-r--r-- | games-puzzle/construo/construo-0.2.2.ebuild | 25 | ||||
-rw-r--r-- | games-puzzle/construo/files/construo-0.2.2-lGLU.patch | 18 |
3 files changed, 39 insertions, 15 deletions
diff --git a/games-puzzle/construo/ChangeLog b/games-puzzle/construo/ChangeLog index 10b220ec2750..9b3170a846d0 100644 --- a/games-puzzle/construo/ChangeLog +++ b/games-puzzle/construo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-puzzle/construo -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/construo/ChangeLog,v 1.13 2008/05/01 13:11:32 nyhm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/construo/ChangeLog,v 1.14 2009/11/24 17:37:06 tupone Exp $ + + 24 Nov 2009; Tupone Alfredo <tupone@gentoo.org> construo-0.2.2.ebuild, + +files/construo-0.2.2-lGLU.patch: + Adjusting dependency and fix missing GLU in linking command. + Fix bug #294293 by flameeyes@gentoo.org 01 May 2008; Tristan Heaven <nyhm@gentoo.org> +files/construo-0.2.2-gcc43.patch, construo-0.2.2.ebuild: @@ -12,7 +17,7 @@ 21 Dec 2007; nixnut <nixnut@gentoo.org> construo-0.2.2.ebuild: Stable on ppc wrt bug 201403 - 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + 22 Feb 2007; Piotr JaroszyÅski <peper@gentoo.org> ChangeLog: Transition to Manifest2. 06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> construo-0.2.2.ebuild: diff --git a/games-puzzle/construo/construo-0.2.2.ebuild b/games-puzzle/construo/construo-0.2.2.ebuild index 6df7cd0f6736..ccfff416d0e1 100644 --- a/games-puzzle/construo/construo-0.2.2.ebuild +++ b/games-puzzle/construo/construo-0.2.2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/construo/construo-0.2.2.ebuild,v 1.14 2008/05/01 13:11:32 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/construo/construo-0.2.2.ebuild,v 1.15 2009/11/24 17:37:06 tupone Exp $ +EAPI=2 -inherit eutils games +inherit eutils autotools games DESCRIPTION="2d construction toy with objects that react on physical forces" HOMEPAGE="http://www.nongnu.org/construo/" @@ -13,21 +14,21 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -RDEPEND="x11-libs/libSM - x11-libs/libXxf86vm - x11-libs/libXt" +RDEPEND="virtual/opengl + virtual/glu + virtual/glut + x11-libs/libXxf86vm" DEPEND="${RDEPEND} x11-proto/xf86vidmodeproto" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc43.patch +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-lGLU.patch + eautoreconf } -src_compile() { +src_configure() { egamesconf --datadir="${GAMES_DATADIR_BASE}" || die - emake || die "emake failed" } src_install() { diff --git a/games-puzzle/construo/files/construo-0.2.2-lGLU.patch b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch new file mode 100644 index 000000000000..daca8de84520 --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch @@ -0,0 +1,18 @@ +--- configure.ac.old 2009-11-24 18:27:48.000000000 +0100 ++++ configure.ac 2009-11-24 18:28:29.000000000 +0100 +@@ -114,7 +114,7 @@ + AC_CHECK_LIB(glut, glutMainLoop, + [ + ConstruoTargets="$ConstruoTargets construo.glut" +- AC_SUBST(glut_LIBS,"-lglut") ++ AC_SUBST(glut_LIBS,"-lglut -lGLU") + ], + []) + +@@ -158,4 +158,4 @@ + echo " Ingo Ruhnke <grumbel@gmx.de>" + echo "" + +-# EOF # +\ No newline at end of file ++# EOF # |