Lines 2-8
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/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild,v 1.4 2006/11/06 01:23:40 opfer Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.0.4-r3.ebuild,v 1.4 2006/11/06 01:23:40 opfer Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="The GLib library of C routines" |
7 |
DESCRIPTION="The GLib library of C routines" |
8 |
HOMEPAGE="http://libsigc.sourceforge.net/" |
8 |
HOMEPAGE="http://libsigc.sourceforge.net/" |
Lines 14-27
Link Here
|
14 |
IUSE="debug" |
14 |
IUSE="debug" |
15 |
|
15 |
|
16 |
DEPEND="" |
16 |
DEPEND="" |
|
|
17 |
RDEPEND="" |
18 |
|
19 |
src_unpack() { |
20 |
unpack ${A} |
21 |
cd "${S}" |
22 |
|
23 |
sed -i -e '/echo "The entire directory will be removed now." ;\\/d' \ |
24 |
-e '/rm -rf "$(includedir)\/sigc++" ;\\/d' */Makefile.in || die |
25 |
|
26 |
sed -i -e 's:^libsigc_la_LIBADD =:& $(THREAD_LIB):' sigc++/Makefile.in || die |
27 |
|
28 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
29 |
} |
17 |
|
30 |
|
18 |
src_compile() { |
31 |
src_compile() { |
19 |
use debug \ |
32 |
use debug \ |
20 |
&& myconf="--enable-debug=yes" \ |
33 |
&& myconf="--enable-debug=yes" \ |
21 |
|| myconf="--enable-debug=no" |
34 |
|| myconf="--enable-debug=no" |
22 |
econf ${myconf} || die |
|
|
23 |
|
35 |
|
24 |
epatch ${FILESDIR}/sandbox.patch || die |
36 |
tc-export CC CXX |
|
|
37 |
econf ${myconf} || die |
25 |
|
38 |
|
26 |
emake || die |
39 |
emake || die |
27 |
} |
40 |
} |