Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/dev-dotnet/gtk-sharp/gtk-sharp-2.12.1.ebuild - annotation
39d1268394e4
1.4 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 | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.10.2.ebuild,v 1.1 2008/01/13 02:25:08 compnerd Exp $
inherit eutils mono autotools
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz
mirror://gentoo/${PN}-2.12.1-configurable.diff.gz"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd"
IUSE="doc"
RDEPEND=">=dev-lang/mono-1.1.9
>=x11-libs/gtk+-2.10"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.19
doc? ( >=dev-util/monodoc-1.1.8 )"
RESTRICT="test"
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${WORKDIR}/${PN}-2.12.1-configurable.diff"
sed -i -e ':^CFLAGS=:d' "${S}/configure.in"
# Fix up pkgconfig entries
sed -i -e 's:^prefix.*:prefix=@prefix@:' \
-e 's:^libdir.*:libdir=@libdir@:' \
"${S}"/*/*.pc.in || die
eautoreconf
# disable building of samples (#16015)
sed -i -e "s:sample::" Makefile.in
}
src_compile() {
econf --disable-glade || die "configure failed"
LANG=C emake || die
}
src_install () {
emake GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \
DESTDIR="${D}" install || die
dodoc README* ChangeLog
}
|