pkgsrc/net/tacacs/patches/patch-aa
2000-10-15 17:26:42 +00:00

51 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:26:42 rh Exp $
--- Makefile.orig Sun Jun 18 19:26:54 2000
+++ Makefile
@@ -19,7 +19,7 @@
# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE.
-CC = gcc
+# CC = gcc
# For AIX
# See /usr/lpp/bos/bsdport on your system for details of how to define bsdcc
@@ -33,8 +33,12 @@
# OS=-DMIPS
# For Solaris (SUNOS 5.3, 5.4, 5.5, 5.6) uncomment the following two lines
-OS=-DSOLARIS
-OSLIBS=-lsocket -lnsl
+#OS=-DSOLARIS
+#OSLIBS=-lsocket -lnsl
+
+# For NetBSD
+OS=-DNETBSD
+OSLIBS=-lcrypt
# For FreeBSD
# OS=-DFREEBSD
@@ -65,11 +69,11 @@
# Definitions for SKEY functionality
# DEFINES = -DSKEY
-# LIBS = ../crimelab/skey/src/libskey.a
+# LIBS = -lskey
# INCLUDES = -I../crimelab/skey/src
# Debugging flags
-DEBUG = -g
+DEBUG =
# Enforce a limit on maximum sessions per user. See the user's guide
# for more information.
@@ -85,7 +89,7 @@
# possible), containing its process id. Uncomment and modify the
# following line to change this filename
-# PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
+PIDFILE = -DTAC_PLUS_PIDFILE=\"/var/run/tac_plus.pid\"
#
# End of customisable section of Makefile