diff options
author | 2017-04-11 11:01:28 +0000 | |
---|---|---|
committer | 2017-04-11 11:01:28 +0000 | |
commit | 19847f2eff4073905bf13743a75f83f8cf16b554 (patch) | |
tree | 305ecc1a10092c1e81c702ec2c41240e07de67a3 | |
parent | Fold priv_write_file() into its only remaining user (diff) | |
download | wireguard-openbsd-19847f2eff4073905bf13743a75f83f8cf16b554.tar.xz wireguard-openbsd-19847f2eff4073905bf13743a75f83f8cf16b554.zip |
document more thoroughly the special status of modules gnu, imake, perl5
(for historical reasons)
okay aja@
-rw-r--r-- | share/man/man5/port-modules.5 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 12709a46a28..718c22a9b22 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.215 2017/04/08 13:29:37 ajacoutot Exp $ +.\" $OpenBSD: port-modules.5,v 1.216 2017/04/11 11:01:28 espie Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 8 2017 $ +.Dd $Mdocdate: April 11 2017 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -48,6 +48,22 @@ variable of Some of these modules correspond to basic mechanisms which are not always needed, such as GNU autoconf, or perl5. .Pp +For convenience, setting +.Ev CONFIGURE_STYLE +in a port's main Makefile is enough to get perl5 or autoconf support, but +.Ar gnu , +.Ar imake +and +.Ar perl5 +are actually modules, and there is some glue in +.Xr bsd.port.mk 5 +that magically adds the required module in that case. +This doesn't work when parsing modules. +For instance, if you set +.Li CONFIGURE_STYLE=gnu +in a module, you also need to +.Li MODULES += gnu . +.Pp Other modules correspond to shortcuts for using some other ports as dependencies without needing to hardcode too much, such as the qt ports. |