summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjep <cjep>2002-12-29 13:15:34 +0000
committercjep <cjep>2002-12-29 13:15:34 +0000
commite39a45ac79d0af9dd70803d65b0a0b9c966377e8 (patch)
treee7c63144c87e24fbbe5492192ded0088311355c2 /net
parentb60b8b9f7f5b800330296df3804227239825cd90 (diff)
downloadpkgsrc-e39a45ac79d0af9dd70803d65b0a0b9c966377e8.tar.gz
Make this build for Solaris
Diffstat (limited to 'net')
-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