diff options
author | tonnerre <tonnerre> | 2010-11-14 12:09:22 +0000 |
---|---|---|
committer | tonnerre <tonnerre> | 2010-11-14 12:09:22 +0000 |
commit | fe5474b389c96d6ed239dce63abdbf1e6bed25b9 (patch) | |
tree | f0dd6d780bc22027c3b7ab854cd8b98aa88bcdf4 /devel | |
parent | a5c06f6ca0e3f6e0fad62427525f473bb7500636 (diff) | |
download | pkgsrc-fe5474b389c96d6ed239dce63abdbf1e6bed25b9.tar.gz |
PHP has grown a new flag; disable building the PHP extension as well if we
disable PHP. This fixes the build with PHP disabled.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libthrift/options.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libthrift/options.mk b/devel/libthrift/options.mk index 10c166781c9..d7d942c9b4b 100644 --- a/devel/libthrift/options.mk +++ b/devel/libthrift/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2010/10/16 11:38:05 tonnerre Exp $ +# $NetBSD: options.mk,v 1.3 2010/11/14 12:09:22 tonnerre Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libthrift PKG_SUPPORTED_OPTIONS= csharp java erlang python perl php ruby @@ -57,7 +57,7 @@ PERL5_CONFIGURE= NO USE_TOOLS+= perl PLIST.perl= yes -PERL5_PACKLIST= auto/Thrift/.packlist +#PERL5_PACKLIST= auto/Thrift/.packlist .include "../../lang/perl5/module.mk" .else @@ -67,11 +67,13 @@ CONFIGURE_ARGS+= --disable-gen-perl .if !empty(PKG_OPTIONS:Mphp) CONFIGURE_ARGS+= --with-php +CONFIGURE_ARGS+= --with-php_extension CONFIGURE_ARGS+= --enable-gen-php .include "../../lang/php/ext.mk" .else CONFIGURE_ARGS+= --without-php +CONFIGURE_ARGS+= --without-php_extension CONFIGURE_ARGS+= --disable-gen-php .endif |