[MacPorts] #60675: Add Variant "+http2" to the apache2 port

MacPorts noreply at macports.org
Wed Jun 17 15:11:56 UTC 2020


#60675: Add Variant "+http2" to the apache2 port
-----------------------------+---------------------
 Reporter:  alphanull        |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:
 Keywords:  apache2, http/2  |       Port:  apache2
-----------------------------+---------------------
 I need to run my local webserver with http2 enabled for developing and
 testing. Jowever there is currently no built in support for this package.
 So I am forced to manually recompile apache with a modified port file,
 which is quite cumbersome!

 But actually I think the changes won't be that hard, I am no expert with
 portfiles, but something similar like this should do it:


 {{{
 variant http2 description {Enable HTTP/2 support} {
     depends_lib-append port:nghttp2
     configure.args-append --enable-http2
      configure.args-append --with-
 nghttp2=/opt/local/lib/libnghttp2.14.dylib \
 }
 }}}

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


More information about the macports-tickets mailing list