summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2017-01-24 14:25:00 +0000
committermrg <mrg@pkgsrc.org>2017-01-24 14:25:00 +0000
commit0741dd75bf925a9d085eed4986feff0e139e475c (patch)
tree0c98b67cc01398006cb77dd0bc9f773305225d8e /x11
parent1f63ffa969b42ac731c3528e5fe5afd7e998ac11 (diff)
downloadpkgsrc-0741dd75bf925a9d085eed4986feff0e139e475c.tar.gz
add missing xorg present and Mesa support. bump revision.
allows tigervnc to build. thanks to dmcmahill for testing.
Diffstat (limited to 'x11')
-rw-r--r--x11/libXpresent/builtin.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/libXpresent/builtin.mk b/x11/libXpresent/builtin.mk
new file mode 100644
index 00000000000..6046528b99d
--- /dev/null
+++ b/x11/libXpresent/builtin.mk
@@ -0,0 +1,17 @@
+# $NetBSD: builtin.mk,v 1.1 2017/01/24 14:25:00 mrg Exp $
+
+BUILTIN_PKG:= libXpresent
+PKGCONFIG_FILE.libXpresent= ${X11BASE}/lib/pkgconfig/xpresent.pc
+PKGCONFIG_FILE.libXpresent+= ${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/xpresent.pc
+
+.include "../../mk/buildlink3/pkgconfig-builtin.mk"
+.include "../../mk/x11.builtin.mk"
+
+CHECK_BUILTIN.libXpresent?= no
+.if !empty(CHECK_BUILTIN.libXpresent:M[nN][oO])
+
+. if !empty(USE_BUILTIN.libXpresent:M[nN][oO])
+BUILDLINK_API_DEPENDS.presentproto+= presentproto>=1.0
+. endif
+
+.endif # CHECK_BUILTIN.libXpresent