pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/lbreakout2 Use bl3 and simplify by using LDFLAGS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79224aee72e5
branches:  trunk
changeset: 470206:79224aee72e5
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Mar 07 07:12:56 2004 +0000

description:
Use bl3 and simplify by using LDFLAGS.SunOS.

diffstat:

 games/lbreakout2/Makefile |  16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diffs (35 lines):

diff -r fffac2e180bb -r 79224aee72e5 games/lbreakout2/Makefile
--- a/games/lbreakout2/Makefile Sun Mar 07 07:05:50 2004 +0000
+++ b/games/lbreakout2/Makefile Sun Mar 07 07:12:56 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index