--- a/parrot-1.9.0.ebuild 2010-01-08 15:33:23.000000000 -0500 +++ a/parrot-1.9.0.ebuild 2010-01-21 06:01:49.000000000 -0500 @@ -6,7 +6,7 @@ inherit eutils multilib -DESCRIPTION="Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages" +DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages" HOMEPAGE="http://www.parrot.org/" SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz" @@ -16,12 +16,12 @@ IUSE="opengl nls doc examples gdbm gmp ssl unicode pcre" RDEPEND="opengl? ( virtual/glut ) - nls? ( sys-devel/gettext ) - unicode? ( >=dev-libs/icu-2.6 ) - gdbm? ( >=sys-libs/gdbm-1.8.3-r1 ) - gmp? ( >=dev-libs/gmp-4.1.4 ) - ssl? ( dev-libs/openssl ) - pcre? ( dev-libs/libpcre )" + nls? ( sys-devel/gettext ) + unicode? ( >=dev-libs/icu-2.6 ) + gdbm? ( >=sys-libs/gdbm-1.8.3-r1 ) + gmp? ( >=dev-libs/gmp-4.1.4 ) + ssl? ( dev-libs/openssl ) + pcre? ( dev-libs/libpcre )" DEPEND="dev-lang/perl[doc?] ${RDEPEND}" @@ -31,27 +31,35 @@ } src_configure() { - myconf="" - use unicode || myconf="$myconf --without-icu" - use ssl || myconf="$myconf --without-crypto" - use gdbm || myconf="$myconf --without-gdbm" - use nls || myconf="$myconf --without-gettext" - use gmp || myconf="$myconf --without-gmp" - use opengl || myconf="$myconf --without-opengl" - use pcre || myconf="$myconf --without-pcre" - - perl Configure.pl --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --sysconfdir=/etc \ - --sharedstatedir=/var/lib/parrot \ - $myconf + myconf="" + use unicode || myconf="$myconf --without-icu" + use ssl || myconf="$myconf --without-crypto" + use gdbm || myconf="$myconf --without-gdbm" + use nls || myconf="$myconf --without-gettext" + use gmp || myconf="$myconf --without-gmp" + use opengl || myconf="$myconf --without-opengl" + use pcre || myconf="$myconf --without-pcre" + myconf="$myconf --disable-rpath" + + perl Configure.pl --prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --sysconfdir=/etc \ + --sharedstatedir=/var/lib/parrot \ + ${myconf} + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib } src_compile() { - emake || die - use doc && make html + emake || die + use doc && make html } src_install() { - emake -j1 install-dev DESTDIR="${D}" DOC_DIR="/usr/share/doc/${P}" || die + emake -j1 install-dev DESTDIR="${D}" DOC_DIR="/usr/share/doc/${P}" || die +} + +pkg_postinst() { + elog "Development files which compilers need in their build process." + elog "Have been installed /usr/src/${PN}" + elog "Which compilers need in their build process." }