Source-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 SmartOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/e88068a2ae4f
branches: trunk
changeset: 433536:e88068a2ae4f
user: micha <micha%pkgsrc.org@localhost>
date: Wed Jun 03 16:27:12 2020 +0000
description:
games/woof: Build fix for SmartOS
Rename uint_t (is defined by unistd.h on SmartOS).
Bump PKGREVISION.
diffstat:
games/woof/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 9ceb49930a61 -r e88068a2ae4f games/woof/Makefile
--- a/games/woof/Makefile Wed Jun 03 16:23:27 2020 +0000
+++ b/games/woof/Makefile Wed Jun 03 16:27:12 2020 +0000
@@ -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_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