Wed Apr 11 09:10:28 2018 UTC ()
libthrift: explicitly disable things not defined as dependencies.
this package is auto-detecting the presence of system languages like
rust and haskell.

XXX currently it is likely doing the same for Lua, maybe more things
to disable.

Fixes PR pkg/53167: libthrift downloads from the net if ghc is installed


(maya)
diff -r1.10 -r1.11 pkgsrc/devel/libthrift/options.mk

cvs diff -r1.10 -r1.11 pkgsrc/devel/libthrift/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/devel/libthrift/Attic/options.mk 2018/04/01 13:49:20 1.10
+++ pkgsrc/devel/libthrift/Attic/options.mk 2018/04/11 09:10:28 1.11
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.10 2018/04/01 13:49:20 wiz Exp $ 1# $NetBSD: options.mk,v 1.11 2018/04/11 09:10:28 maya Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.libthrift 3PKG_OPTIONS_VAR= PKG_OPTIONS.libthrift
4PKG_SUPPORTED_OPTIONS= perl python # csharp java erlang php ruby 4PKG_SUPPORTED_OPTIONS= perl python # csharp java erlang php ruby
5 5
6.include "../../mk/bsd.options.mk" 6.include "../../mk/bsd.options.mk"
7 7
8PLIST_VARS+= csharp erlang java perl php python ruby 8PLIST_VARS+= csharp erlang java perl php python ruby
9 9
10.if !empty(PKG_OPTIONS:Mcsharp) 10.if !empty(PKG_OPTIONS:Mcsharp)
11CONFIGURE_ARGS+= --with-csharp 11CONFIGURE_ARGS+= --with-csharp
12CONFIGURE_ARGS+= --enable-gen-csharp 12CONFIGURE_ARGS+= --enable-gen-csharp
13PLIST.csharp= yes 13PLIST.csharp= yes
14INSTALLATION_DIRS+= lib/thrift 14INSTALLATION_DIRS+= lib/thrift
@@ -93,13 +93,24 @@ CONFIGURE_ARGS+= --without-php @@ -93,13 +93,24 @@ CONFIGURE_ARGS+= --without-php
93CONFIGURE_ARGS+= --without-php_extension 93CONFIGURE_ARGS+= --without-php_extension
94.endif 94.endif
95 95
96.if !empty(PKG_OPTIONS:Mruby) 96.if !empty(PKG_OPTIONS:Mruby)
97CONFIGURE_ARGS+= --with-ruby 97CONFIGURE_ARGS+= --with-ruby
98CONFIGURE_ARGS+= --enable-gen-rb 98CONFIGURE_ARGS+= --enable-gen-rb
99CONFIGURE_ENV+= ac_cv_path_RUBY=${RUBY} 99CONFIGURE_ENV+= ac_cv_path_RUBY=${RUBY}
100PLIST.ruby= yes 100PLIST.ruby= yes
101 101
102.include "../../lang/ruby/buildlink3.mk" 102.include "../../lang/ruby/buildlink3.mk"
103.else 103.else
104CONFIGURE_ARGS+= --without-ruby 104CONFIGURE_ARGS+= --without-ruby
105.endif 105.endif
 106
 107# Languages without options that may be auto-detected
 108CONFIGURE_ARGS+= --without-nodejs
 109CONFIGURE_ARGS+= --without-dart
 110CONFIGURE_ARGS+= --without-haskell
 111CONFIGURE_ARGS+= --without-go
 112CONFIGURE_ARGS+= --without-rs
 113CONFIGURE_ARGS+= --without-haxe
 114CONFIGURE_ARGS+= --without-dotnetcore
 115CONFIGURE_ARGS+= --without-d
 116