diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-18 11:29:19 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-18 11:29:19 +0000 |
commit | 2c9197136ee9bbb3502f787f60b55d6a015ea721 (patch) | |
tree | 38ae7b1a34d1199202f8e9e0ab24cc8712b22571 | |
parent | 47b8b6913e03eb9f3cc7000104fab84877f8a462 (diff) | |
download | pkgsrc-2c9197136ee9bbb3502f787f60b55d6a015ea721.tar.gz |
SunPro does not like "extern inline" functions.
-rw-r--r-- | games/lbreakout2/Makefile | 11 |
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" |