summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-25 14:36:20 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-06-25 14:36:20 +0000
commit7e3c98ddd8179e3ee7f2c1e77d31da4f693b761d (patch)
tree3a8006af2c1f483a577b545ff3347572ca49d3e9 /usr.bin
parent84b40ca0b15ea028755fdcb8bc203f432acb4c58 (diff)
add CAVEATS section explaining some of the differences between this
and the fd.o implementation feedback/ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pkg-config/pkg-config.133
1 files changed, 31 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config.1 b/usr.bin/pkg-config/pkg-config.1
index 629c604d5cd..4fa47d6ff15 100644
--- a/usr.bin/pkg-config/pkg-config.1
+++ b/usr.bin/pkg-config/pkg-config.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg-config.1,v 1.22 2011/06/06 17:10:43 jasper Exp $
+.\" $OpenBSD: pkg-config.1,v 1.23 2011/06/25 14:36:19 jasper Exp $
.\"
.\" Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 6 2011 $
+.Dd $Mdocdate: June 25 2011 $
.Dt PKG-CONFIG 1
.Os
.Sh NAME
@@ -193,3 +193,32 @@ version by
.An Marc Espie Aq espie@openbsd.org
and
.An Jasper Lievisse Adriaanse Aq jasper@openbsd.org .
+.Sh CAVEATS
+.Nm
+is a re-implementation of the "original" freedesktop.org program.
+While it tries to be compatible, there are several
+design/functionality differences one should be aware of:
+.Bl -tag -width Ds
+.It Ev Conflicts
+It was decided not to support the Conflicts keyword as there is
+currently too little benefit from it in
+.Ox
+where the ports tree is supposed to prevent conflicts from arising
+in the first place.
+Lines with this keyword are not treated as errors, they are just ignored.
+And they are not taken into account when
+.Cm --print-errors
+is passed.
+.It Ev Cflags and -i
+The
+.Fl i
+flag that can be encountered in Cflags is not treated differently from
+.Fl I
+in this implementation.
+.It Ev Whitespace
+.Nm
+does not go to great lengths to try to fix whitespace abuse.
+Whitespace in Libs and Cflags lines that are escaped using \e are
+treated correctly.
+But strings enclosed in quotation marks that contain whitespaces are not.
+.El