Lines 1-6
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
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/dev-libs/boolstuff/boolstuff-0.1.12-r2.ebuild,v 1.1 2009/11/23 20:10:33 hwoarang Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
|
6 |
|
Lines 16-23
Link Here
|
16 |
IUSE="static" |
16 |
IUSE="static" |
17 |
|
17 |
|
18 |
src_prepare(){ |
18 |
src_prepare(){ |
19 |
# Since gcc-4.4 getopt returns -1 instead of EOF. Works for <gcc-4.3 as well |
|
|
20 |
sed -i "s/EOF/-1/" src/commands/booldnf.cpp || die "gcc-4.4 sed failed" |
21 |
#fix documentation installation |
19 |
#fix documentation installation |
22 |
sed -i "s/doc\/\$(PACKAGE)-\$(VERSION)/doc\/${PF}/" \ |
20 |
sed -i "s/doc\/\$(PACKAGE)-\$(VERSION)/doc\/${PF}/" \ |
23 |
Makefile.am || die "failed to fix docdir" |
21 |
Makefile.am || die "failed to fix docdir" |