tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tigervnc fails because of libXfont2
Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:
> It seems that tigervnc ends up with a dependancy on libXfont2 even trough
> there is one in base. Other X11 dependancy don't have this issue.
I think the cause is that libXfont2's bl3 has
BUILDLINK_ABI_DEPENDS.libXfont2?= libXfont2>=2.0.6nb1
and this, while normal for packages without builtin, is a bug, because
the netbsd-9 is 2.0.3 and that is good enough. ABI_DEPENDS should
really be different for pkgsrc vs native.
I tried this, but it still didn't work. I am not really sure the
pkg-config logic in libXfont2 is right.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/tigervnc/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile 9 Feb 2023 12:15:17 -0000 1.59
+++ Makefile 27 Mar 2023 15:25:21 -0000
@@ -143,6 +143,8 @@ BUILDLINK_API_DEPENDS.fltk+= fltk>=1.3.3
.include "../../x11/pixman/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
+# Allow netbsd-9 builtin
+BUILDLINK_ABI_DEPENDS.libXfont2?= libXfont2>=2.0.3
.include "../../x11/libXfont2/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index