Line
Link Here
|
0 |
-- /usr/portage/dev-libs/cgicc/cgicc-3.2.5.ebuild 2008-01-30 11:23:26.000000000 +0000 |
0 |
++ /usr/portage/dev-libs/cgicc/cgicc-3.2.5-2.ebuild 2009-12-16 20:45:06.000000000 +0000 |
Lines 1-6
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 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/cgicc/cgicc-3.2.5.ebuild,v 1.1 2008/01/30 11:23:26 dev-zero Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.5-2.ebuild,v 1.1 2008/01/30 11:23:26 dev-zero Exp $ |
|
|
4 |
|
5 |
inherit autotools |
4 |
DESCRIPTION="A C++ class library for writing CGI applications" |
6 |
DESCRIPTION="A C++ class library for writing CGI applications" |
5 |
HOMEPAGE="http://www.cgicc.org/" |
7 |
HOMEPAGE="http://www.cgicc.org/" |
Lines 8-14
Link Here
|
8 |
LICENSE="LGPL-3 doc? ( FDL-1.2 )" |
10 |
LICENSE="LGPL-3 doc? ( FDL-1.2 )" |
9 |
SLOT="0" |
11 |
SLOT="0" |
10 |
KEYWORDS="~amd64 ~x86" |
12 |
KEYWORDS="~amd64 ~x86" |
11 |
IUSE="doc debug" |
13 |
IUSE="doc" |
12 |
DEPEND="doc? ( app-doc/doxygen )" |
14 |
DEPEND="doc? ( app-doc/doxygen )" |
13 |
RDEPEND="" |
15 |
RDEPEND="" |
Lines 21-34
Link Here
|
21 |
# upstream bug: #22176 |
23 |
# upstream bug: #22176 |
22 |
sed -i \ |
24 |
sed -i \ |
23 |
-e 's/@GNUCAP_LDFLAGS@//' \ |
25 |
-e 's/@GNUCAP_LDFLAGS@//' \ |
24 |
cgicc/Makefile.in || die "sed failed" |
26 |
cgicc/Makefile.am || die "sed failed" |
25 |
# Fix docdir/htmldir paths in doc/Makefile.in |
27 |
# Fix docdir/htmldir paths in doc/Makefile.in |
26 |
# upstream bug: #6385 |
28 |
# upstream bug: #6385 |
27 |
sed -i \ |
29 |
sed -i \ |
28 |
-e 's|$(docdir)|@htmldir@|g' \ |
30 |
-e 's|$(docdir)|@htmldir@|g' \ |
29 |
-e 's|$(prefix)/doc/\$(PACKAGE)-\$(VERSION)|@docdir@|' \ |
31 |
-e 's|$(prefix)/doc/\$(PACKAGE)-\$(VERSION)|@docdir@|' \ |
30 |
doc/Makefile.in || die "sed failed" |
32 |
doc/Makefile.am || die "sed failed" |
|
|
33 |
|
34 |
# Fix libtool links |
35 |
# bug: #227537 (http://bugs.gentoo.org/227537) |
36 |
rm example/config.guess example/ltmain.sh example/config.sub |
37 |
ln -s /usr/share/libtool/config/config.guess example/ |
38 |
ln -s /usr/share/libtool/config/ltmain.sh example/ |
39 |
ln -s /usr/share/libtool/config/config.sub example/ |
40 |
|
41 |
# run autoconf |
42 |
eautoreconf || die "autoconf failed" |
43 |
epatch "${FILESDIR}"/HTMLElement-cstring.patch |
31 |
} |
44 |
} |
32 |
src_compile() { |
45 |
src_compile() { |
Lines 42-48
Link Here
|
42 |
econf \ |
55 |
econf \ |
43 |
--disable-demos \ |
56 |
--disable-demos \ |
44 |
--htmldir=/usr/share/doc/${PF}/html \ |
57 |
--htmldir=/usr/share/doc/${PF}/html \ |
45 |
$(use_enable debug debug-logging) \ |
|
|
46 |
|| die "econf failed" |
58 |
|| die "econf failed" |
47 |
emake || die "emake failed" |
59 |
emake || die "emake failed" |
48 |
} |
60 |
} |