View | Details | Raw Unified
Collapse All | Expand All

(-) gdb-6.2.1.ebuild (-2 / +15 lines)
 Lines 12-22   SRC_URI="http://mirrors.rcn.net/pub/sour Link Here 
LICENSE="GPL-2 LGPL-2"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
SLOT="0"
KEYWORDS="~x86 ~alpha ~arm hppa ~ppc64 ~amd64 -sparc ~ppc"
KEYWORDS="~x86 ~alpha ~arm hppa ~ppc64 ~amd64 -sparc ~ppc"
IUSE="nls"
IUSE="nls maketest"
DEPEND=">=sys-libs/ncurses-5.2-r2
RDEPEND=">=sys-libs/ncurses-5.2-r2
	nls? ( sys-devel/gettext )"
	nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND} maketest? ( dev-util/dejagnu )"
pkg_setup() {
	if hasq maketest $FEATURES $RESTRICT; then
		if has_version dev-util/dejagnu; then
			: ; # nop
			einfo "then maybe you want todo nothing here Aaron"
		else
			use maketest || die "You need to add maketest in your USE flags in order to satisfy the dependencies"
		fi
	fi
}
src_unpack() {
src_unpack() {
	unpack ${A}; cd ${S}
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/gdb-6.1-uclibc.patch
	epatch ${FILESDIR}/gdb-6.1-uclibc.patch