summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnj <snj>2004-03-07 07:12:56 +0000
committersnj <snj>2004-03-07 07:12:56 +0000
commitd9ad2105fd35fa364db036e32f5cb9b0e843f2cf (patch)
tree463344405016220f8ba07ae8b442be5814e07fc8
parent3d1035fbb1b2c472843d5333d7c7a3aa2672d724 (diff)
downloadpkgsrc-d9ad2105fd35fa364db036e32f5cb9b0e843f2cf.tar.gz
Use bl3 and simplify by using LDFLAGS.SunOS.
-rw-r--r--games/lbreakout2/Makefile16
1 files changed, 6 insertions, 10 deletions
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"