games/woof: Build fix for SmartOS
Rename uint_t (is defined by unistd.h on SmartOS). Bump PKGREVISION.
This commit is contained in:
parent
f2a40ec319
commit
f7c1d84a2e
1 changed files with 9 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue