diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-07-18 20:06:47 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-07-18 20:06:47 +0000 |
commit | eabf9a62e7ccd971c1aa1fb2f7a9f6c0a59c8a46 (patch) | |
tree | 32d6644f677af98380fc00eef46b7b31273cae2b /lib/libxcb | |
parent | 45f150fff72d14926ec89e87d8e589d85c62fffe (diff) |
Add XCBPROTO_VERSION substitution for xcb.pc.
Problem reported by David Coppa. Thanks.
Diffstat (limited to 'lib/libxcb')
-rw-r--r-- | lib/libxcb/libxcb/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libxcb/libxcb/Makefile b/lib/libxcb/libxcb/Makefile index ee9382429..9e83e1b5e 100644 --- a/lib/libxcb/libxcb/Makefile +++ b/lib/libxcb/libxcb/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2009/05/31 18:01:28 matthieu Exp $ +# $OpenBSD: Makefile,v 1.6 2009/07/18 20:06:46 matthieu Exp $ LIB= xcb @@ -28,7 +28,10 @@ PKGCONFIG= xcb.pc NEEDED= pthread-stubs xau >= 0.99.2 xdmcp -EXTRA_PKGCONFIG_SUBST= '-e s,@NEEDED@,${NEEDED},g' \ +XCBPROTO_VERSION!= pkg-config --modversion xcb-proto + +EXTRA_PKGCONFIG_SUBST= '-e s,@NEEDED@,${NEEDED},g' \ + '-e s,@XCBPROTO_VERSION@,${XCBPROTO_VERSION},g' \ '-e s,@LIBS@,,g' \ LDADD= `pkg-config --libs "${NEEDED}"` |