pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/woof games/woof: Build fix for Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc02138ec853
branches: trunk
changeset: 438887:bc02138ec853
user: micha <micha%pkgsrc.org@localhost>
date: Fri Sep 11 10:28:09 2020 +0000
description:
games/woof: Build fix for Darwin
XDG desktop and icon files are now always installed (on Darwin too).
pkgsrc users maybe have X11 installed on Apple machines.
diffstat:
games/woof/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 5b4a4a7a0cd3 -r bc02138ec853 games/woof/Makefile
--- a/games/woof/Makefile Fri Sep 11 09:58:03 2020 +0000
+++ b/games/woof/Makefile Fri Sep 11 10:28:09 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/09/03 10:26:47 micha Exp $
+# $NetBSD: Makefile,v 1.11 2020/09/11 10:28:09 micha Exp $
DISTNAME= woof_2.1.1
PKGNAME= ${DISTNAME:S/_/-/}
@@ -37,6 +37,15 @@
SUBST_FILES.uint= Source/m_misc.c
SUBST_SED.uint= -e 's,uint_t,woof_uint_t,'
+# XDG desktop file and icon are installed by the build system with the logic:
+# if(UNIX AND NOT APPLE)
+# Remove Apple exception because pkgsrc users maybe have X11 on Apple machines
+SUBST_CLASSES+= xdg
+SUBST_STAGE.xdg= pre-configure
+SUBST_MESSAGE.xdg= Preparing data/CMakeLists.txt file ...
+SUBST_FILES.xdg= data/CMakeLists.txt
+SUBST_SED.xdg= -e 's,UNIX AND NOT APPLE,UNIX,'
+
pre-configure:
cd ${WRKSRC}; mkdir build
${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
Home |
Main Index |
Thread Index |
Old Index