Lines 14-20
Link Here
|
14 |
LICENSE="BSD as-is" |
14 |
LICENSE="BSD as-is" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64" |
16 |
KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64" |
17 |
IUSE="X ipv6 tao ciao" |
17 |
IUSE="X ipv6 tao ciao crossdev" |
18 |
|
18 |
|
19 |
COMMON_DEPEND="dev-libs/openssl" |
19 |
COMMON_DEPEND="dev-libs/openssl" |
20 |
# TODO probably more |
20 |
# TODO probably more |
Lines 29-34
Link Here
|
29 |
src_unpack() { |
29 |
src_unpack() { |
30 |
unpack ${A} |
30 |
unpack ${A} |
31 |
cd "${S}" |
31 |
cd "${S}" |
|
|
32 |
|
33 |
# patch configure for not running epoll tests if cross compiling |
34 |
if use crossdev |
35 |
then |
36 |
patch configure "${FILESDIR}"/ace-epoll-cross-compile-configure-problem.patch |
37 |
fi |
38 |
|
32 |
# Let's avoid autotools. http://bugs.gentoo.org/328027. |
39 |
# Let's avoid autotools. http://bugs.gentoo.org/328027. |
33 |
if has_version ">=dev-libs/openssl-1.0.0"; then |
40 |
if has_version ">=dev-libs/openssl-1.0.0"; then |
34 |
sed -i -e 's:SSL_METHOD:const SSL_METHOD:' configure || die |
41 |
sed -i -e 's:SSL_METHOD:const SSL_METHOD:' configure || die |
Lines 42-47
Link Here
|
42 |
|
49 |
|
43 |
ECONF_SOURCE="${S}" |
50 |
ECONF_SOURCE="${S}" |
44 |
econf \ |
51 |
econf \ |
|
|
52 |
$(use crossdev && echo "--enable-ace-examples=no --enable-ace-tests=no") \ |
45 |
--enable-lib-all \ |
53 |
--enable-lib-all \ |
46 |
$(use_with X) \ |
54 |
$(use_with X) \ |
47 |
$(use_enable ipv6) \ |
55 |
$(use_enable ipv6) \ |