--- nginx-0.8.4.ebuild.orig 2009-07-08 10:26:31.873553122 +0000 +++ nginx-0.8.4.ebuild.orig 2009-07-08 10:26:48.423757637 +0000 @@ -11,7 +11,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" -IUSE="addition debug fastcgi flv imap pcre perl random-index ssl status sub webdav zlib" +IUSE="addition debug fastcgi flv imap pcre perl random-index ssl status sub syslog webdav zlib" DEPEND="dev-lang/perl pcre? ( >=dev-libs/libpcre-4.2 ) @@ -29,6 +29,8 @@ src_unpack() { unpack ${A} sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make || die + cd ${S} + use syslog && epatch "${FILESDIR}/${P}-syslog.patch" } src_compile() { @@ -60,6 +62,7 @@ use webdav && myconf="${myconf} --with-http_dav_module" use sub && myconf="${myconf} --with-http_sub_module" use random-index && myconf="${myconf} --with-http_random_index_module" + use syslog && myconf="${myconf} --with-syslog" tc-export CC ./configure \