Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/x11-libs/wxX11/wxX11-2.8.8.ebuild - annotation
39d1268394e4
1.2 KiB
application/vnd.gentoo.ebuild
media-sound/glame fixed problem with newer guile
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 5a1af5749a73 | #derived of:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild,v 1.1 2008/06/29 05:22:00 dirtyepic Exp $
inherit eutils
DESCRIPTION="X11 version of the wxWidgets, a cross-platform C++ GUI toolkit."
SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2"
KEYWORDS="amd64"
SLOT="0"
LICENSE="wxWinLL-3
GPL-2"
RDEPEND="
jpeg? ( media-libs/jpeg )
png? ( media-libs/png )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/Xpm )
sdl? media-libs/libsdl
gnome? (
gnome-base/libgnomeprint
)
zlib? sys-libs/zlib
odbc? ( dev-db/unixODBC )
expat? ( dev-libs/expat )
gstreamer? ( media-libs/gstreamer )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x11-proto/xproto
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto"
src_unpack()
{
unpack ${A}
}
src_compile()
{
mkdir "${S}"/wxx11_build
cd "${S}"/wxx11_build
ECONF_SOURCE="${S}" econf || die "configure failed."
emake || die "make failed."
}
src_install()
{
cd "${S}"/wxx11_build
emake DESTDIR="${D}" install || die "install failed."
}
pkg_postrm() {
has_version app-admin/eselect-wxwidgets \
&& eselect wxwidgets update
}
|