pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/xfce4-wm xfce4-wm: Add hack to let this build on Ne...
details: https://anonhg.NetBSD.org/pkgsrc/rev/997a4a976b96
branches: trunk
changeset: 440703:997a4a976b96
user: nia <nia%pkgsrc.org@localhost>
date: Fri Oct 16 06:21:13 2020 +0000
description:
xfce4-wm: Add hack to let this build on NetBSD 8.
diffstat:
wm/xfce4-wm/hacks.mk | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 89166098afea -r 997a4a976b96 wm/xfce4-wm/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/xfce4-wm/hacks.mk Fri Oct 16 06:21:13 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.1 2020/10/16 06:21:13 nia Exp $
+
+.if !defined(XFCE4_WM_HACKS_MK)
+XFCE4_WM_HACKS_MK= defined
+
+# Unfortunately, the check in xfwm's configure script simply determines
+# whether XRes is available, not its version.
+# It's using XRes 1.2 features, but the base version installed in NetBSD 8.x
+# is too old to support that.
+.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[5678].*) && \
+ ${X11_TYPE} == "native"
+PKG_HACKS+= old-netbsd-xres
+CONFIGURE_ENV+= ac_cv_lib_XRes_XResQueryClients=no
+.endif
+
+.endif # XFCE4_WM_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index