pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: fix GCC binary package dependency for N...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b879e077ea3
branches: trunk
changeset: 376762:4b879e077ea3
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Wed Apr 13 01:24:33 2022 +0000
description:
vte3: fix GCC binary package dependency for NetBSD < 9.99.82
This involves a bit of a kludge to deal with how GCC from pkgsrc ends
up linking. This is obviously not ideal, and is part of a broader
topic that needs revisiting.
diffstat:
x11/vte3/Makefile | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r cf023bdf605a -r 4b879e077ea3 x11/vte3/Makefile
--- a/x11/vte3/Makefile Wed Apr 13 00:47:23 2022 +0000
+++ b/x11/vte3/Makefile Wed Apr 13 01:24:33 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2022/04/10 22:14:50 gutteridge Exp $
+# $NetBSD: Makefile,v 1.51 2022/04/13 01:24:33 gutteridge Exp $
DISTNAME= vte-0.68.0
PKGNAME= ${DISTNAME:S/vte/vte3/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=GNOME/}
GITHUB_PROJECT= vte
@@ -21,6 +21,17 @@
# for c++20
GCC_REQD+= 10
+.include "../../mk/bsd.prefs.mk"
+
+# This package will link against libstdc++.so from the pkgsrc GCC when the
+# base OS GCC doesn't meet the minimum requirement. Thus we do this so the
+# appropriate gcc-libs package will be captured as a dependency, otherwise
+# binary packages will be broken.
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099982
+USE_PKGSRC_GCC= yes
+USE_PKGSRC_GCC_RUNTIME= yes
+.endif
+
# Otherwise, this will fail on Linux distributions that don't
# have libsystemd.
MESON_ARGS+= -D_systemd=false
Home |
Main Index |
Thread Index |
Old Index