subversion: added apxs support (#30381)
This commit is contained in:
parent
77fb651e01
commit
8b34cabb16
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ class Subversion(AutotoolsPackage):
|
|||
|
||||
variant('serf', default=True, description='Serf HTTP client library')
|
||||
variant('perl', default=False, description='Build with Perl bindings')
|
||||
variant('apxs', default=True, description='Build with APXS')
|
||||
variant('nls', default=True, description='Enable Native Language Support')
|
||||
|
||||
depends_on('apr')
|
||||
|
@ -95,6 +96,9 @@ def configure_args(self):
|
|||
if '+perl' in spec:
|
||||
args.append('PERL={0}'.format(spec['perl'].command.path))
|
||||
|
||||
if spec.satisfies('~apxs'):
|
||||
args.append('APXS=no')
|
||||
|
||||
if '+nls' in spec:
|
||||
args.extend([
|
||||
'LDFLAGS={0}'.format(spec['gettext'].libs.search_flags),
|
||||
|
|
Loading…
Reference in a new issue