From 54f4d41a4555205b8d57188d761da2a570a2697e Mon Sep 17 00:00:00 2001 From: snj Date: Sun, 7 Mar 2004 07:12:56 +0000 Subject: Use bl3 and simplify by using LDFLAGS.SunOS. --- games/lbreakout2/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'games/lbreakout2') diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile index bd1b289b5d9..a17f5a302dd 100644 --- a/games/lbreakout2/Makefile +++ b/games/lbreakout2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2003/12/08 14:41:39 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2004/03/07 07:12:56 snj Exp $ # DISTNAME= lbreakout2-2.4.1 @@ -10,20 +10,16 @@ MAINTAINER= xs@nitric.net HOMEPAGE= http://lgames.sourceforge.net/ COMMENT= Breakout-style arcade game -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_X11= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-highscore-path=${LOCALBASE}/share/games/ \ --with-doc-path=${LOCALBASE}/share/doc/html/ -.include "../../mk/bsd.prefs.mk" +LDFLAGS.SunOS+= -lsocket -lnsl -.if ${OPSYS} == "SunOS" -LDFLAGS+= -lsocket -lnsl -.endif - -.include "../../graphics/png/buildlink2.mk" -.include "../../audio/SDL_mixer/buildlink2.mk" -.include "../../devel/SDL/buildlink2.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../audio/SDL_mixer/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3