[MacPorts] #58460: Enhancement: allow installation of ccache without asciidoc

MacPorts noreply at macports.org
Thu May 9 09:10:01 UTC 2019


#58460: Enhancement: allow installation of ccache without asciidoc
----------------------------------+--------------------
 Reporter:  Russell-Jones-OxPhys  |      Owner:  (none)
     Type:  defect                |     Status:  new
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.5.4
 Keywords:                        |       Port:  ccache
----------------------------------+--------------------
 We'd like to install this early in our build process without pulling in
 too many deps, so I've added a (default) +doc variant.

 I've changed
 {{{
 depends_lib         port:zlib \
                     port:autoconf \
                     port:asciidoc

 }}}

 to

 {{{
 depends_lib         port:zlib \
                     port:autoconf

 default_variants +doc

 variant doc description "Whether to build docs or not" {
         depends_build-append port:asciidoc
 }
 if {![variant_isset doc]} {
         configure.args-append --disable-man
 }

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58460>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list