diff options
-rw-r--r-- | share/man/man5/bsd.port.arch.mk.5 | 24 | ||||
-rw-r--r-- | share/man/man5/port-modules.5 | 12 |
2 files changed, 25 insertions, 11 deletions
diff --git a/share/man/man5/bsd.port.arch.mk.5 b/share/man/man5/bsd.port.arch.mk.5 index 5093dc10e86..1ed194cc7ae 100644 --- a/share/man/man5/bsd.port.arch.mk.5 +++ b/share/man/man5/bsd.port.arch.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.arch.mk.5,v 1.4 2011/10/21 17:26:02 espie Exp $ +.\" $OpenBSD: bsd.port.arch.mk.5,v 1.5 2011/12/08 08:26:55 espie Exp $ .\" .\" Copyright (c) 2011 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: October 21 2011 $ +.Dd $Mdocdate: December 8 2011 $ .Dt BSD.PORT.ARCH.MK 5 .Os .Sh NAME @@ -108,13 +108,21 @@ is defined. A more detailed description of each variable is available in .Xr bsd.port.mk 5 . .Pp -.Nm -also takes care of including -.Pa ${.CURDIR}/../Makefile.inc , -so its definitions can be used in the following lines. -However, please note that it does not handle +All the constant values +.Ev ARCH , ALL_ARCHS , COMPILER_VERION , GCC2_ARCHS , +.Ev GCC3_ARCHS , GCC4_ARCHS , LP64_ARCHS , NO_SHARED_ARCHS +and +.Ev PROPERTIES +are also available from .Ev MODULES -inclusion. +and from +.Pa ${.CURDIR}/../Makefile.inc . +Note that due to historical accident, +.Ev NO_SHARED_LIBS +is not such a constant. +Test +.Ev PROPERTIES +to assert whether a given platform supports shared libraries. .Sh SEE ALSO .Xr bsd.port.mk 5 .Sh HISTORY diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index b94f10c7f18..eb8bce60be7 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.117 2011/12/05 20:03:25 espie Exp $ +.\" $OpenBSD: port-modules.5,v 1.118 2011/12/08 08:26:55 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: December 5 2011 $ +.Dd $Mdocdate: December 8 2011 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -319,7 +319,13 @@ value: .Ev NO_DEPENDS , .Ev PKGPATH , .Ev PORTSDIR , -.Ev X11BASE . +.Ev X11BASE +and all arch-dependent constant from +.Xr bsd.port.arch.mk 5 , +such as +.Ev PROPERTIES +or +.Ev NO_SHARED_ARCHS . Note that this is only relevant for tests. It is perfectly okay to define variables or targets that depend on the basic ports framework without having to care whether that variable is |