link against libsocket and libnsl on Solaris.

from Jonathan Perkin in PR pkg/22295.
This commit is contained in:
grant 2003-07-30 17:23:59 +00:00
parent 8257275c8b
commit e918ba458b

View file

@ -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"