pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk4 gtk4: fix bl3.mk file for pkg-config detection



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e2d7155569b
branches:  trunk
changeset: 382486:6e2d7155569b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 29 16:24:31 2022 +0000

description:
gtk4: fix bl3.mk file for pkg-config detection

diffstat:

 x11/gtk4/buildlink3.mk |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r b22fbb33986b -r 6e2d7155569b x11/gtk4/buildlink3.mk
--- a/x11/gtk4/buildlink3.mk    Fri Jul 29 16:08:31 2022 +0000
+++ b/x11/gtk4/buildlink3.mk    Fri Jul 29 16:24:31 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2021/12/08 16:02:50 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2022/07/29 16:24:31 wiz Exp $
 
 BUILDLINK_TREE+=       gtk4
 
@@ -16,6 +16,16 @@
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 .include "../../graphics/graphene/buildlink3.mk"
 .include "../../graphics/libepoxy/buildlink3.mk"
+
+pkgbase := gtk4
+.include "../../mk/pkg-build-options.mk"
+
+.  if !empty(PKG_BUILD_OPTIONS.gtk4:Mx11)
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.  endif
+
 .endif # GTK4_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -gtk4



Home | Main Index | Thread Index | Old Index