--- ruby-gd2-1.1.1.ebuild.orig 2006-08-14 11:43:15.000000000 +0300 +++ ruby-gd2-1.1.1.ebuild 2006-08-14 11:41:12.000000000 +0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit ruby gems +inherit ruby gems eutils USE_RUBY="ruby18" MY_P="gd2-${PV}" @@ -13,9 +13,16 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=dev-lang/ruby-1.8.4" RDEPEND="${DEPEND} >=media-libs/gd-2.0.0" + +pkg_setup() { + if ! built_with_use media-libs/gd truetype ; then + einfo "You need to build media-libs/gd with USE=truetype enabled." + die "gd without truetype-support detected." + fi +}