summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-10-21 09:50:36 +0000
committerfhajny <fhajny@pkgsrc.org>2013-10-21 09:50:36 +0000
commit3769a9d34dee086f4dfb629693c4353dd8cdbafb (patch)
tree25df685af515aace468e8d379e5e9a137a7c9244
parenta9265594c34212064a2f671fdf83fac4e040096a (diff)
downloadpkgsrc-3769a9d34dee086f4dfb629693c4353dd8cdbafb.tar.gz
Fix build on SunOS. Patching by Sebastian Wiedenroth.
-rw-r--r--games/0verkill/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/0verkill/Makefile b/games/0verkill/Makefile
index 64557f54c3d..d80196a17c2 100644
--- a/games/0verkill/Makefile
+++ b/games/0verkill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2012/10/06 11:54:29 asau Exp $
+# $NetBSD: Makefile,v 1.10 2013/10/21 09:50:36 fhajny Exp $
DISTNAME= 0verkill-0.16
PKGREVISION= 1
@@ -27,6 +27,8 @@ SUBST_MESSAGE.prefix= Fix game configuration path prefix
SUBST_FILES.prefix= cfg.h
SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g"
+CFLAGS.SunOS+= -Du_int32_t=uint32_t
+
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} 0verkill ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && for f in avi bot editor server test_server; do \