Lines 36-46
Link Here
|
36 |
if use zlib ; then |
36 |
if use zlib ; then |
37 |
cp extra/m_ziplink.cpp . |
37 |
cp extra/m_ziplink.cpp . |
38 |
fi |
38 |
fi |
39 |
if use openssl || use gnutls ; then |
39 |
if use openssl || use gnutls ; then |
40 |
cp extra/m_sslinfo.cpp . |
40 |
cp extra/m_sslinfo.cpp . |
41 |
cp extra/m_ssl_oper_cert.cpp |
41 |
cp extra/m_ssl_oper_cert.cpp . |
42 |
fi |
42 |
fi |
43 |
|
43 |
|
44 |
if use ldap ; then |
44 |
if use ldap ; then |
45 |
cp extra/m_ldapauth.cpp . |
45 |
cp extra/m_ldapauth.cpp . |
46 |
fi |
46 |
fi |
Lines 79-89
Link Here
|
79 |
--library-dir="/usr/$(get_libdir)/inspircd" \ |
79 |
--library-dir="/usr/$(get_libdir)/inspircd" \ |
80 |
--module-dir="/usr/$(get_libdir)/inspircd/modules" \ |
80 |
--module-dir="/usr/$(get_libdir)/inspircd/modules" \ |
81 |
|| die "configure failed" |
81 |
|| die "configure failed" |
82 |
./configure -modupdate || die "modupdate failed" |
82 |
./configure -modupdate || die "modupdate failed" |
83 |
|
83 |
|
84 |
emake || die "emake failed" |
84 |
emake CC="$(tc-getCXX)" || die "emake failed" |
85 |
} |
85 |
} |
86 |
|
86 |
|
87 |
src_install() { |
87 |
src_install() { |
88 |
# the inspircd buildsystem does not create these, its configure script |
88 |
# the inspircd buildsystem does not create these, its configure script |
89 |
# does. so, we have to make sure they are there. |
89 |
# does. so, we have to make sure they are there. |