--- oer-mysql-1.0.43.ebuild.orig 2011-04-04 20:12:00.000000000 +0200 +++ oer-mysql-1.0.43.ebuild 2011-04-04 22:22:57.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/oer-mysql/oer-mysql-1.0.43.ebuild,v 1.4 2009/09/23 18:45:25 patrick Exp $ @@ -9,6 +9,7 @@ DESCRIPTION="Free to use GPL'd IRC bot" HOMEPAGE="http://oer.equnet.org/" SRC_URI="http://oer.equnet.org/testing/${MY_PN}-$(replace_version_separator 2 -).tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~ppc" @@ -22,17 +23,20 @@ src_unpack() { unpack ${A} - ht_fix_file ${S}/configure + ht_fix_file "${S}/configure" } src_compile() { + #252000 pre-stripped files + sed -i -e 's|\(MYLDFLAGSADD.*CC=\)"-s"|\1\"\"|' configure || die + econf \ --with-mysql=/usr \ $(use_enable debug) \ $(use_enable static) \ || die "econf failed" - sed -i -e "s:-O2:${CFLAGS}:" Makefile + sed -i -e "s:-O2:${CFLAGS}:" Makefile || die emake mycrypt || die "emake mycrypt failed" emake || die "emake failed" @@ -41,7 +45,7 @@ -e 's:CRYPT=./mycrypt:CRYPT=/usr/lib/oer/mycrypt:' \ -e 's:sample-configuration/oer+MySQL.conf:oer+MySQL.conf:' \ -e 's:$CURRDIR/scripts/:/usr/share/oer/scripts/:' \ - ${S}/pre_install.sh + "${S}/pre_install.sh" || die } src_install() {