summaryrefslogtreecommitdiff
path: root/games/woof
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2020-06-03 16:27:12 +0000
committermicha <micha@pkgsrc.org>2020-06-03 16:27:12 +0000
commit0c95ba22af8d5aa48fbe396cae12a5dd52c060d5 (patch)
tree3a550994593798b9d0dd108221dd4915ac2c4348 /games/woof
parent3c7e9428f41171deebe8cfa50e0c9971ffdd5386 (diff)
downloadpkgsrc-0c95ba22af8d5aa48fbe396cae12a5dd52c060d5.tar.gz
games/woof: Build fix for SmartOS
Rename uint_t (is defined by unistd.h on SmartOS). Bump PKGREVISION.
Diffstat (limited to 'games/woof')
-rw-r--r--games/woof/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/woof/Makefile b/games/woof/Makefile
index 22b245878fb..160e88fa49e 100644
--- a/games/woof/Makefile
+++ b/games/woof/Makefile
@@ -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}