[MacPorts] #56560: squid3 port file has no --enable-http-violations option or variant

MacPorts noreply at macports.org
Tue Apr 30 00:16:46 UTC 2019

#56560: squid3 port file has no --enable-http-violations option or variant
  Reporter:  essandess    |      Owner:  jmroot
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  worksforme   |   Keywords:
      Port:  squid3       |

Comment (by jmroot):

 You are misreading the code. The part relevant to the default behaviour is
 further down:
 case "${enable_http_violations:=yes}" in
   yes|true|1) squid_tmp_define="1" ;;
   no|false|0|"") squid_tmp_define="0" ;;
   *) as_fn_error $? "SQUID_DEFINE_BOOL: unrecognized value for
 USE_HTTP_VIOLATIONS: '${enable_http_violations:=yes}'" "$LINENO" 5 ;;

 cat >>confdefs.h <<_ACEOF
 #define USE_HTTP_VIOLATIONS $squid_tmp_define
 Note the `:=yes` in the line `case "${enable_http_violations:=yes}" in`.
 If no explicit value was passed in, it defaults to yes.

Ticket URL: <https://trac.macports.org/ticket/56560#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list