Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 167849 | Differences between
and this patch

Collapse All | Expand All

(-)ncurses-5.5-r3.ebuild (-5 / +20 lines)
Lines 13-22 Link Here
13
13
14
LICENSE="MIT"
14
LICENSE="MIT"
15
SLOT="5"
15
SLOT="5"
16
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
17
IUSE="bootstrap build debug doc gpm minimal nocxx trace unicode"
17
IUSE="ada bootstrap build debug doc gpm minimal nocxx trace unicode"
18
18
19
DEPEND="gpm? ( sys-libs/gpm )"
19
DEPEND="gpm? ( sys-libs/gpm )
20
		ada? ( virtual/gnat )"
20
RDEPEND="${DEPEND}"
21
RDEPEND="${DEPEND}"
21
22
22
S=${WORKDIR}/${MY_P}
23
S=${WORKDIR}/${MY_P}
Lines 28-33 Link Here
28
29
29
	epatch "${FILESDIR}"/${P}-gfbsd.patch
30
	epatch "${FILESDIR}"/${P}-gfbsd.patch
30
	epatch "${FILESDIR}"/${P}-terminfo-gnome.patch
31
	epatch "${FILESDIR}"/${P}-terminfo-gnome.patch
32
33
	# no point in patching unless we need it...
34
	if use ada ; then
35
		epatch "${FILESDIR}"/${P}-ada-install.patch
36
	fi
31
}
37
}
32
38
33
src_compile() {
39
src_compile() {
Lines 42-48 Link Here
42
	# build in bootstrap.sh.
48
	# build in bootstrap.sh.
43
	local myconf=""
49
	local myconf=""
44
	( use build || use bootstrap || use nocxx ) \
50
	( use build || use bootstrap || use nocxx ) \
45
		&& myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
51
		&& myconf="${myconf} --without-cxx --without-cxx-binding"
46
52
47
	# First we build the regular ncurses ...
53
	# First we build the regular ncurses ...
48
	mkdir "${WORKDIR}"/narrowc
54
	mkdir "${WORKDIR}"/narrowc
Lines 73-79 Link Here
73
		--disable-termcap \
79
		--disable-termcap \
74
		--with-shared \
80
		--with-shared \
75
		--with-rcs-ids \
81
		--with-rcs-ids \
76
		--without-ada \
82
		$(use_with ada) \
77
		--enable-symlinks \
83
		--enable-symlinks \
78
		--enable-const \
84
		--enable-const \
79
		--with-chtype='long' \
85
		--with-chtype='long' \
Lines 154-159 Link Here
154
		dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
160
		dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
155
		use doc && dohtml -r doc/html/
161
		use doc && dohtml -r doc/html/
156
	fi
162
	fi
163
164
	if use ada ; then
165
		# install libAdaCurses.a (the narrow version only)
166
		dolib.a "${WORKDIR}"/narrowc/Ada95/src/libAdaCurses.a || die "install error"
167
168
		# and the adacurses-config file:
169
		newbin ${FILESDIR}/ncurses-5.5-adacurses-config adacurses-config || die "install error"
170
	fi
171
157
}
172
}
158
173
159
pkg_preinst() {
174
pkg_preinst() {

Return to bug 167849