Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/dev-util/scons/scons-1.1.0.ebuild - annotation
39d1268394e4
1.1 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 | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/scons/scons-1.0.0.ebuild,v 1.5 2008/10/27 00:03:55 jer Exp $
NEED_PYTHON="1.5.2"
inherit distutils
DESCRIPTION="Extensible Python-based build utility"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.scons.org/"
SLOT="0"
LICENSE="MIT"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE=""
DOCS="RELEASE.txt CHANGES.txt LICENSE.txt"
src_install () {
distutils_src_install
# move man pages from /usr/man to /usr/share/man
dodir /usr/share
mv "${D}"/usr/man "${D}"/usr/share
}
pkg_preinst() {
# clean up stale junk left there by old faulty ebuilds
# see Bug 118022 and Bug 132448 and Bug 107013
einfo "Cleaning up stale orphaned py[co] files..."
einfo "Checking for /usr/lib/${P}/SCons"
[[ -d "${ROOT}/usr/$(get_libdir)/${P}/SCons" ]] \
&& rm -rf "${ROOT}/usr/$(get_libdir)/${P}/SCons"
einfo "Done."
}
pkg_postinst() {
python_mod_optimize /usr/$(get_libdir)/${P}
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/${P}
}
|