summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorgrant <grant>2003-07-30 17:23:59 +0000
committergrant <grant>2003-07-30 17:23:59 +0000
commitf8519b4085f92f2ce6392709aaafa04da0f95466 (patch)
treebe604c43bf59ff713be58dddd652b801cf97854a /games
parent7683c8f2a87222e3520e2d24225dde2bb37f5750 (diff)
downloadpkgsrc-f8519b4085f92f2ce6392709aaafa04da0f95466.tar.gz
link against libsocket and libnsl on Solaris.
from Jonathan Perkin in PR pkg/22295.
Diffstat (limited to 'games')
-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"