summaryrefslogtreecommitdiff
path: root/games/lbreakout2
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-07-30 17:23:59 +0000
committergrant <grant@pkgsrc.org>2003-07-30 17:23:59 +0000
commite918ba458b8f4c81938d4e7b272d466b55072339 (patch)
treebe604c43bf59ff713be58dddd652b801cf97854a /games/lbreakout2
parent8257275c8b2b3bf27a564a3413321f1c056720d1 (diff)
downloadpkgsrc-e918ba458b8f4c81938d4e7b272d466b55072339.tar.gz
link against libsocket and libnsl on Solaris.
from Jonathan Perkin in PR pkg/22295.
Diffstat (limited to 'games/lbreakout2')
-rw-r--r--games/lbreakout2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
index 5160c322e7e..edcc84fcea7 100644
--- a/games/lbreakout2/Makefile
+++ b/games/lbreakout2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/26 21:41:18 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2003/07/30 17:23:59 grant Exp $
#
DISTNAME= lbreakout2-2.4.1
@@ -16,6 +16,12 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-highscore-path=${LOCALBASE}/share/games/ \
--with-doc-path=${LOCALBASE}/share/doc/html/
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl
+.endif
+
.include "../../graphics/png/buildlink2.mk"
.include "../../audio/SDL_mixer/buildlink2.mk"
.include "../../devel/SDL/buildlink2.mk"