Bug 200161

Summary: www/apache24: not compile statis modules from WITH_STATIC_MODULES
Product: Ports & Packages Reporter: Vyacheslav <freebsd>
Component: Individual Port(s)Assignee: Philip M. Gollucci <pgollucci>
Status: Closed FIXED    
Severity: Affects Only Me CC: freebsd, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for Mk/bsd.apache.mk none

Description Vyacheslav 2015-05-13 00:19:04 UTC

    
Comment 1 Vyacheslav 2015-05-13 00:26:54 UTC
Created attachment 156736 [details]
patch for Mk/bsd.apache.mk
Comment 2 Vyacheslav 2015-05-13 00:27:27 UTC
In the Apache24 has changed the default behavior for option --enable-MODULE

http://httpd.apache.org/docs/2.2/programs/configure.html#configurationoptions
--enable-MODULE=shared
The corresponding module will be build as DSO module.
--enable-MODULE=static
By default enabled modules are linked statically. You can force this explicitly.

http://httpd.apache.org/docs/2.4/programs/configure.html

--enable-MODULE=shared
The corresponding module will be build as DSO module. By default enabled modules are linked dynamically.
--enable-MODULE=static
The corresponding module will be linked statically.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2015-07-14 21:51:37 UTC
Take.
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-07-14 22:35:37 UTC
A commit references this bug:

Author: pgollucci
Date: Tue Jul 14 22:34:54 UTC 2015
New revision: 392104
URL: https://svnweb.freebsd.org/changeset/ports/392104

Log:
  Fix static modules in www/apache24

  --enable-foo=static
  works in both 2.2/2.4 and is required in 2.4

  PR:           200161
  Submitted by: freebsd@magic.360xl.net
  With Hat:     apache@

Changes:
  head/Mk/bsd.apache.mk