summaryrefslogtreecommitdiff
path: root/net/tacacs
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-12-29 13:15:34 +0000
committercjep <cjep@pkgsrc.org>2002-12-29 13:15:34 +0000
commit4bd7da720f7c25ad0ca9ad69de390c81db5d201c (patch)
treee7c63144c87e24fbbe5492192ded0088311355c2 /net/tacacs
parent5f0f3aaeda354282566a0a3725e4fe7ff027a27b (diff)
downloadpkgsrc-4bd7da720f7c25ad0ca9ad69de390c81db5d201c.tar.gz
Make this build for Solaris
Diffstat (limited to 'net/tacacs')
-rw-r--r--net/tacacs/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/tacacs/Makefile b/net/tacacs/Makefile
index 1fde5f33092..81d8de9c885 100644
--- a/net/tacacs/Makefile
+++ b/net/tacacs/Makefile
@@ -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