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:           Wed Jun  3 16:27:12 UTC 2020

Modified Files:
        pkgsrc/games/woof: Makefile

Log Message:
games/woof: Build fix for SmartOS

Rename uint_t (is defined by unistd.h on SmartOS).
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 pkgsrc/games/woof/Makefile:1.3
--- pkgsrc/games/woof/Makefile:1.2      Thu May 28 09:16:55 2020
+++ pkgsrc/games/woof/Makefile  Wed Jun  3 16:27:12 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/05/28 09:16:55 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/03 16:27:12 micha Exp $
 
 DISTNAME=      woof_1.2.1
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/_/-/}
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fabiangreffrath/}
@@ -30,6 +31,13 @@ SUBST_FILES.waddir=  Source/d_iwad.c
 SUBST_SED.waddir=      -e 's,PKGSRC_PREFIX,"${PREFIX}",'
 SUBST_SED.waddir+=     -e 's,PKGSRC_DOOMWADDIR,"/${DOOMWADDIR}",'
 
+# Rename uint_t (defined by unistd.h on SmartOS)
+SUBST_CLASSES+=                uint
+SUBST_STAGE.uint=      pre-configure
+SUBST_MESSAGE.uint=    Preparing m_misc.c file ...
+SUBST_FILES.uint=      Source/m_misc.c
+SUBST_SED.uint=                -e 's,uint_t,woof_uint_t,'
+
 pre-configure:
        cd ${WRKSRC}; mkdir build
        ${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}



Home | Main Index | Thread Index | Old Index