Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| bsd.apache.mk [2011/04/24 17:49] – bsd.apache.mk was committed, placeFuture Improvements to the end OlliHauer | bsd.apache.mk [2012/01/05 23:27] (current) – adjust valid apache versions OlliHauer | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| apache13 is already [[http:// | apache13 is already [[http:// | ||
| - | This means apache22 will be the default version as soon apache24 is in the ports tree. | + | <del>This means apache22 will be the default version as soon apache24 is in the ports tree.</ |
| Therefore Mk/ | Therefore Mk/ | ||
| + | |||
| + | === Parameter APACHE_PORT: | ||
| + | The parameter APACHE_PORT is not for usage inside the ports Makefile, it is a user controlled parameter to select the default apache port. | ||
| + | |||
| + | The following example will show how to use this parameter in / | ||
| + | |||
| + | APACHE_PORT= www/ | ||
| + | |||
| + | To get a list of " | ||
| + | $> egrep ' | ||
| + | |||
| + | === Parameters for usage inside a ports Makefile: === | ||
| ^ parameter ^ description ^ | ^ parameter ^ description ^ | ||
| Line 18: | Line 30: | ||
| | USE_APACHE= 22 | specify exact version | | | USE_APACHE= 22 | specify exact version | | ||
| - | | USE_APACHE= | + | | USE_APACHE= |
| - | | USE_APACHE= | + | | USE_APACHE= |
| - | | USE_APACHE= **-**2.2 | specify [max] version, no [min] version | | + | | USE_APACHE= **-**22 | specify [max] version, no [min] version | |
| === Note: === | === Note: === | ||
| - | * Values | + | * In the past Values |
| * If " | * If " | ||
| * Valid version numbers are specified in the variable APACHE_SUPPORTED_VERSION below | * Valid version numbers are specified in the variable APACHE_SUPPORTED_VERSION below | ||
| Line 30: | Line 42: | ||
| === Internal Variables to control which apache version will be chosen. === | === Internal Variables to control which apache version will be chosen. === | ||
| - | * DEFAULT_APACHE_VERSION= | + | * DEFAULT_APACHE_VERSION= |
| - | * APACHE_SUPPORTED_VERSION= | + | * APACHE_SUPPORTED_VERSION= |
| As soon apache24 hits the tree this will be changed to | As soon apache24 hits the tree this will be changed to | ||
| * DEFAULT_APACHE_VERSION= | * DEFAULT_APACHE_VERSION= | ||
| - | * APACHE_SUPPORTED_VERSION= | + | * APACHE_SUPPORTED_VERSION= |
| + | |||
| + | Note: apache13 and apache20 is already removed in this example. | ||
| === Note for maintainers and porters === | === Note for maintainers and porters === | ||