summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-18 11:29:19 +0000
committerrillig <rillig>2006-05-18 11:29:19 +0000
commite2c9efa71c69ad40312a4edec878604c92c19ba6 (patch)
tree38ae7b1a34d1199202f8e9e0ab24cc8712b22571 /games
parent6fba7990727c222e3a21669bc18580a6cc66ea5c (diff)
downloadpkgsrc-e2c9efa71c69ad40312a4edec878604c92c19ba6.tar.gz
SunPro does not like "extern inline" functions.
Diffstat (limited to 'games')
-rw-r--r--games/lbreakout2/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
index f2260bb06d5..d793e4d3516 100644
--- a/games/lbreakout2/Makefile
+++ b/games/lbreakout2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/04/17 13:46:29 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2006/05/18 11:29:19 rillig Exp $
DISTNAME= lbreakout2-2.5.2
PKGREVISION= 4
@@ -15,6 +15,15 @@ CONFIGURE_ARGS+= --with-highscore-path=${PREFIX}/share/games/ \
LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Msunpro)
+SUBST_CLASSES+= sunpro
+SUBST_STAGE.sunpro= pre-configure
+SUBST_MESSAGE.sunpro= Removing "inline" for SunPro.
+SUBST_FILES.sunpro= common/tools.h common/tools.c
+SUBST_SED.sunpro= -e 's,^inline ,,'
+.endif
+
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"