diff options
author | nia <nia@pkgsrc.org> | 2020-10-16 06:21:13 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-10-16 06:21:13 +0000 |
commit | e04d0b9f1e98ea5623c6609921f07feafcc44042 (patch) | |
tree | 0d8eafd6171bc32ab4fcd8a728d58d77a2921685 /wm | |
parent | f92bc261c03bf8759fe063904eb7f9296611adaf (diff) | |
download | pkgsrc-e04d0b9f1e98ea5623c6609921f07feafcc44042.tar.gz |
xfce4-wm: Add hack to let this build on NetBSD 8.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/xfce4-wm/hacks.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wm/xfce4-wm/hacks.mk b/wm/xfce4-wm/hacks.mk new file mode 100644 index 00000000000..e9d63ec2a2a --- /dev/null +++ b/wm/xfce4-wm/hacks.mk @@ -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 |