Bug 200161 - www/apache24: not compile statis modules from WITH_STATIC_MODULES
Summary: www/apache24: not compile statis modules from WITH_STATIC_MODULES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 00:19 UTC by Vyacheslav
Modified: 2015-07-14 22:36 UTC (History)
2 users (show)

See Also:


Attachments
patch for Mk/bsd.apache.mk (401 bytes, patch)
2015-05-13 00:26 UTC, Vyacheslav
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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