summaryrefslogtreecommitdiff
path: root/share/man/man5/bsd.port.mk.5
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-07-04 17:30:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-07-04 17:30:32 +0000
commitc2e092ffbb660a7e5076faaedcba37e992ba4ff0 (patch)
treefb7b9b48e6dc2b84ed028dc5fc863cc03068e10e /share/man/man5/bsd.port.mk.5
parentb1374a39b073f30cfbdd0777a47d4de7aec33e9f (diff)
document new semantics
Diffstat (limited to 'share/man/man5/bsd.port.mk.5')
-rw-r--r--share/man/man5/bsd.port.mk.535
1 files changed, 22 insertions, 13 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index 780afaca654..e37fd8cd7a7 100644
--- a/share/man/man5/bsd.port.mk.5
+++ b/share/man/man5/bsd.port.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.port.mk.5,v 1.249 2010/06/20 07:59:53 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.250 2010/07/04 17:30:30 espie Exp $
.\"
.\" Copyright (c) 2000-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: June 20 2010 $
+.Dd $Mdocdate: July 4 2010 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
@@ -1245,21 +1245,27 @@ to package installation time.
.It Ev LIB_DEPENDS
Libraries this port depends upon.
Each item has the form
-.Sq lib_specs:[pkgspec]:directory[,-subpackage][,flavor ...][:target] .
-Similar to BUILD_DEPENDS, except for
-.Sq lib_specs ,
-which is a comma-separated list of
-.Sq lib_spec
-of the form:
-.Sq libname.[version.[subversion]] .
-See
-.Xr library-specs 7
-for more details.
+.Sq [legacy]:[pkgspec]:directory[,-subpackage][,flavor ...] .
+Similar to
+.Ev BUILD_DEPENDS
+and
+.Ev RUN_DEPENDS ,
+but with specific rules:
+.Ev LIB_DEPENDS
+always turn into
+.Ev BUILD_DEPENDS .
.Pp
On architectures that use dynamic libraries,
.Ev LIB_DEPENDS
is also used as a run-time dependency, and recorded in the package as
-such.
+such, if any of the libraries mentioned in
+.Ev WANTLIB
+is a shared library that originates within the dependant port.
+.Pp
+See
+.Xr library-specs 7
+for more details.
+.Pp
.It Ev LIBTOOL
Location of the libtool binary for ports that set
.Ev USE_LIBTOOL
@@ -1969,6 +1975,9 @@ with the default process limits.
.It Ev WANTLIB
Extra list of library specifications that a package will need.
May include system and X11 libraries.
+See
+.Xr library-specs 7
+for more details.
.Pp
As a special extension,
.Ev WANTLIB