pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2020Q3]: pkgsrc/wm/xfce4-wm Pullup ticket #6350 - requested by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4da85cbad5f
branches:  pkgsrc-2020Q3
changeset: 441016:e4da85cbad5f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Oct 23 17:30:36 2020 +0000

description:
Pullup ticket #6350 - requested by nia
wm/xfce4-wm: NetBSD 8 build fix

Revisions pulled up:
- wm/xfce4-wm/hacks.mk                                          1.1

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Fri Oct 16 06:21:13 UTC 2020

   Added Files:
        pkgsrc/wm/xfce4-wm: hacks.mk

   Log Message:
   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 c54032ead4d3 -r e4da85cbad5f wm/xfce4-wm/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/xfce4-wm/hacks.mk      Fri Oct 23 17:30:36 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.1.2.2 2020/10/23 17:30:36 bsiegert 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