Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 51682
Collapse All | Expand All

(-)/usr/portage/dev-util/ddd/ddd-3.3.9.ebuild (-4 / +11 lines)
Lines 6-27 Link Here
6
6
7
DESCRIPTION="graphical front-end for command-line debuggers"
7
DESCRIPTION="graphical front-end for command-line debuggers"
8
HOMEPAGE="http://www.gnu.org/software/ddd"
8
HOMEPAGE="http://www.gnu.org/software/ddd"
9
SRC_URI="mirror://sourceforge/ddd/${P}.tar.gz"
9
SRC_URI="ftp://ftp.gnu.org/gnu/ddd/${P}.tar.gz"
10
RESTRICT="nomirror"
10
RESTRICT="nomirror"
11
11
12
SLOT="0"
12
SLOT="0"
13
LICENSE="GPL-2 LGPL-2.1 FDL-1.1"
13
LICENSE="GPL-2 LGPL-2.1 FDL-1.1"
14
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ppc64"
14
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ppc64"
15
IUSE=""
15
IUSE="lesstif"
16
16
17
DEPEND="virtual/x11
17
DEPEND="virtual/x11
18
	>=sys-devel/gcc-3
18
	>=sys-devel/gcc-3
19
	>=sys-devel/gdb-4.16
19
	>=sys-devel/gdb-4.16
20
	x11-libs/openmotif"
20
	lesstif?  ( x11-libs/lesstif )
21
	!lesstif? ( x11-libs/openmotif )"
22
21
23
22
src_compile() {
24
src_compile() {
23
	CXXFLAGS="${CXXFLAGS}"
25
	CXXFLAGS="${CXXFLAGS}"
24
	econf || die
26
	local myconf
27
	if use lesstif; then
28
		myconf="--with-motif-includes=/usr/X11R6/include/lesstif"
29
		myconf="${myconf} --with-motif-libraries=/usr/X11R6/lib/lesstif"
30
	fi
31
	econf ${myconf} || die
25
	emake || die
32
	emake || die
26
}
33
}
27
34

Return to bug 51682