--- /usr/portage/net-irc/unrealircd/unrealircd-3.2.4.ebuild 2006-02-18 21:58:21.000000000 +0100 +++ /usr/local/portage/net-irc/unrealircd/unrealircd-3.2.4.ebuild 2006-03-10 14:40:39.000000000 +0100 @@ -49,6 +49,10 @@ } src_compile() { + local myconf + if use curl; then + myconf="--enable-libcurl=/usr" + fi econf \ --with-listen=5 \ --with-dpath=${D}/etc/unrealircd \ @@ -65,7 +69,7 @@ $(use_enable ssl) \ $(use_enable zlib ziplinks) \ $(use_enable hub) \ - $(use_enable curl libcurl '/usr') \ + ${myconf} \ || die "econf failed" sed -i \