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

Collapse All | Expand All

(-)/usr/portage/media-libs/aalib/aalib-1.4_rc5-r5.ebuild (-13 / +18 lines)
Lines 2-10 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5-r5.ebuild,v 1.1 2013/05/05 14:42:47 slyfox Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5-r5.ebuild,v 1.1 2013/05/05 14:42:47 slyfox Exp $
4
4
5
EAPI=4
5
EAPI=5
6
6
7
inherit autotools eutils toolchain-funcs
7
inherit autotools-multilib eutils toolchain-funcs
8
8
9
MY_P="${P/_/}"
9
MY_P="${P/_/}"
10
S="${WORKDIR}/${PN}-1.4.0"
10
S="${WORKDIR}/${PN}-1.4.0"
Lines 18-33 Link Here
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
19
IUSE="X slang gpm static-libs"
19
IUSE="X slang gpm static-libs"
20
20
21
RDEPEND="X? ( x11-libs/libX11 )
21
RDEPEND="X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
22
	gpm? ( sys-libs/gpm )
22
	gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )
23
	slang? ( >=sys-libs/slang-1.4.2 )
23
	slang? ( >=sys-libs/slang-1.4.2[${MULTILIB_USEDEP}] )
24
	>=sys-libs/ncurses-5.1
24
	>=sys-libs/ncurses-5.1[${MULTILIB_USEDEP}]
25
"
25
"
26
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
27
	virtual/pkgconfig
27
	virtual/pkgconfig
28
	X? ( x11-proto/xproto )
28
	X? ( x11-proto/xproto )
29
"
29
"
30
30
31
DOCS="ANNOUNCE AUTHORS ChangeLog NEWS README*"
32
31
src_prepare() {
33
src_prepare() {
32
	epatch "${FILESDIR}"/${PN}-1.4_rc4-gentoo.patch
34
	epatch "${FILESDIR}"/${PN}-1.4_rc4-gentoo.patch
33
	epatch "${FILESDIR}"/${PN}-1.4_rc4-m4.patch
35
	epatch "${FILESDIR}"/${PN}-1.4_rc4-m4.patch
Lines 44-62 Link Here
44
	#467988 automake-1.13
46
	#467988 automake-1.13
45
	mv configure.{in,ac} || die
47
	mv configure.{in,ac} || die
46
	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
48
	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
49
47
	eautoreconf
50
	eautoreconf
48
}
51
}
49
52
50
src_configure() {
53
src_configure() {
51
	PKG_CONFIG=$(tc-getPKG_CONFIG) \
54
	local myeconfargs=(
52
	econf \
55
		$(use_with slang slang-driver)
53
		$(use_with slang slang-driver) \
56
		$(use_with X x11-driver)
54
		$(use_with X x11-driver) \
55
		$(use_enable static-libs static)
57
		$(use_enable static-libs static)
58
	)
59
60
	PKG_CONFIG=$(tc-getPKG_CONFIG) \
61
	autotools-multilib_src_configure 
56
}
62
}
57
63
58
src_install() {
64
src_install() {
59
	default
65
	autotools-multilib_src_install
60
	dodoc ANNOUNCE AUTHORS ChangeLog NEWS README*
66
	use static-libs || prune_libtool_files --all
61
	use static-libs || find "${ED}" -name '*.la' -delete
62
}
67
}

Return to bug 497774