}
src_compile() {
local myconf
if use curl; then
myconf="--enable-libcurl=/usr"
fi
econf \
--with-listen=5 \
--with-dpath=${D}/etc/unrealircd \
$(use_enable ssl) \
$(use_enable zlib ziplinks) \
$(use_enable hub) \
$(use_enable curl libcurl '/usr') \
${myconf} \
|| die "econf failed"
sed -i \