pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/woof



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Sep 11 10:28:09 UTC 2020

Modified Files:
        pkgsrc/games/woof: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/games/woof/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/woof/Makefile
diff -u pkgsrc/games/woof/Makefile:1.10 pkgsrc/games/woof/Makefile:1.11
--- pkgsrc/games/woof/Makefile:1.10     Thu Sep  3 10:26:47 2020
+++ pkgsrc/games/woof/Makefile  Fri Sep 11 10:28:09 2020
@@ -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_MESSAGE.uint=  Preparing m_misc.c f
 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