pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/lbreakout2 SunPro does not like "extern inline" ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c38965c857c
branches: trunk
changeset: 512964:2c38965c857c
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu May 18 11:29:19 2006 +0000
description:
SunPro does not like "extern inline" functions.
diffstat:
games/lbreakout2/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r ecaf74edb8f1 -r 2c38965c857c games/lbreakout2/Makefile
--- a/games/lbreakout2/Makefile Thu May 18 05:18:31 2006 +0000
+++ b/games/lbreakout2/Makefile Thu May 18 11:29:19 2006 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index