Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="Apache-2.0" |
13 |
LICENSE="Apache-2.0" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-macos" |
15 |
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-macos" |
16 |
IUSE="ssl" |
16 |
IUSE="ssl" |
17 |
RESTRICT="test" |
17 |
RESTRICT="test" |
18 |
|
18 |
|
Lines 43-53
Link Here
|
43 |
|
43 |
|
44 |
# Instead of filtering --as-needed (bug #128505), append --no-as-needed |
44 |
# Instead of filtering --as-needed (bug #128505), append --no-as-needed |
45 |
# Thanks to Harald van Dijk |
45 |
# Thanks to Harald van Dijk |
|
|
46 |
if ! use x86-macos; then |
46 |
append-ldflags -Wl,--no-as-needed |
47 |
append-ldflags -Wl,--no-as-needed |
|
|
48 |
fi |
47 |
|
49 |
|
48 |
if use ssl ; then |
50 |
if use ssl ; then |
49 |
myconf="${myconf} --with-ssl=/usr --enable-ssl" |
51 |
myconf="${myconf} --with-ssl=${EPREFIX}/usr --enable-ssl" |
50 |
append-flags -DHAVE_OPENSSL -DUSE_SSL -I/usr/include/openssl |
52 |
append-flags -DHAVE_OPENSSL -DUSE_SSL -I${EPREFIX}/usr/include/openssl |
51 |
append-ldflags -lssl |
53 |
append-ldflags -lssl |
52 |
fi |
54 |
fi |
53 |
|
55 |
|
Lines 55-67
Link Here
|
55 |
# our myconf line too |
57 |
# our myconf line too |
56 |
|
58 |
|
57 |
econf \ |
59 |
econf \ |
58 |
--sbindir=/usr/sbin \ |
60 |
--sbindir=${EPREFIX}/usr/sbin \ |
59 |
--with-perl=/usr/bin/perl \ |
61 |
--with-perl=${EPREFIX}/usr/bin/perl \ |
60 |
--with-expat=/usr \ |
62 |
--with-expat=${EPREFIX}/usr \ |
61 |
--with-z=/usr \ |
63 |
--with-z=${EPREFIX}/usr \ |
62 |
--with-apr=/usr \ |
64 |
--with-apr=${EPREFIX}/usr \ |
63 |
--with-apr-util=/usr \ |
65 |
--with-apr-util=${EPREFIX}/usr \ |
64 |
--with-pcre=/usr \ |
66 |
--with-pcre=${EPREFIX}/usr \ |
65 |
${myconf} || die "econf failed!" |
67 |
${myconf} || die "econf failed!" |
66 |
|
68 |
|
67 |
cd support |
69 |
cd support |