adding passenger use-flag

This commit is contained in:
Micha Glave 2009-12-18 12:04:13 +01:00
parent a3f1897dbd
commit d0adaf2048

View File

@ -13,7 +13,7 @@ SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="addition debug fastcgi file-aio flv imap ipv6 pamauth pcre perl random-index securelink ssl IUSE="addition debug fastcgi file-aio flv imap ipv6 pamauth passenger pcre perl random-index securelink ssl
status sub vim-syntax webdav zlib" status sub vim-syntax webdav zlib"
DEPEND="dev-lang/perl DEPEND="dev-lang/perl
@ -69,6 +69,7 @@ src_compile() {
use sub && myconf="${myconf} --with-http_sub_module" use sub && myconf="${myconf} --with-http_sub_module"
use random-index && myconf="${myconf} --with-http_random_index_module" use random-index && myconf="${myconf} --with-http_random_index_module"
use securelink && myconf="${myconf} --with-http_secure_link_module" use securelink && myconf="${myconf} --with-http_secure_link_module"
use passenger && myconf="${myconf} --add-module=`passenger-config --root`/ext/nginx"
# --- works only with kernel > 2.6.22 # --- works only with kernel > 2.6.22
use file-aio && myconf="${myconf} --with-file-aio" use file-aio && myconf="${myconf} --with-file-aio"