Make this build for Solaris

This commit is contained in:
cjep 2002-12-29 13:15:34 +00:00
parent 5f0f3aaeda
commit 4bd7da720f

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/02/17 18:19:42 wiz Exp $
# $NetBSD: Makefile,v 1.3 2002/12/29 13:15:34 cjep Exp $
#
DISTNAME= tac_plus.F4.0.4.alpha
@ -13,6 +13,11 @@ COMMENT= Cisco authentication, authorization, and accounting protocol daemon
ALL_TARGET= tac_plus
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_FLAGS+= OS=-DSOLARIS OSLIBS="-lsocket -lnsl"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man8/tac_plus.8