pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xfm xfm: Copy the app-defaults to the X11 dir...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45e9d8a9acfc
branches:  trunk
changeset: 457534:45e9d8a9acfc
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Aug 28 09:22:23 2021 +0000

description:
xfm: Copy the app-defaults to the X11 directory. No idea if this is
correct, but X only seems to search its base directory for app-defaults
and xfm immediately errors if they can't be opened.

diffstat:

 sysutils/xfm/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 117602f98dea -r 45e9d8a9acfc sysutils/xfm/Makefile
--- a/sysutils/xfm/Makefile     Sat Aug 28 08:36:10 2021 +0000
+++ b/sysutils/xfm/Makefile     Sat Aug 28 09:22:23 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2020/02/24 21:45:24 bouyer Exp $
+# $NetBSD: Makefile,v 1.24 2021/08/28 09:22:23 nia Exp $
 
 DISTNAME=      xfm-1.4.3
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    sysutils x11
 MASTER_SITES=  http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/
 
@@ -28,6 +28,13 @@
 
 TOOL_DEPENDS+= tradcpp>=0.5.2:../../devel/tradcpp
 
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(X11BASE:M${PREFIX})
+CONF_FILES+=   ${PREFIX}/lib/X11/app-defaults/Xfm \
+               ${X11BASE}/lib/X11/app-defaults/Xfm
+.endif
+
 .include "../../x11/libXaw3d/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index