1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/ascend-radius/files/patch-aa

51 lines
2.2 KiB
Plaintext
Raw Normal View History

1997-01-24 10:19:35 +00:00
--- Makefile.orig Tue Oct 29 14:44:07 1996
+++ Makefile Fri Jan 24 05:00:19 1997
@@ -111,8 +111,8 @@
# Pick your compiler
#
#CC= gcc -ansi -Wall # set the GCC compiler to ANSI mode and picky
-CC= gcc -ansi # set the GCC compiler to ANSI mode
-#CC= gcc # set the GCC compiler for BSDI and friends
+#CC= gcc -ansi # set the GCC compiler to ANSI mode
+CC= gcc # set the GCC compiler for BSDI and friends
#CC= cc -Xc -v -fd # set the SUN compiler to full-whine ANSI mode
#CC= cc -Xc -v # set the SUN compiler to partial-whine ANSI mode
#CC= cc -Xc # set the SUN compiler to ANSI mode
1997-01-24 10:19:35 +00:00
@@ -132,7 +132,7 @@
# use this for BSDI
#CFLAGS= -O -DNOSHADOW -DBSDI -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# use this for SunOS
-CFLAGS= -O -DNOSHADOW -DOSUN -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
+#CFLAGS= -O -DNOSHADOW -DOSUN -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# use this for Solaris 2.1 - 2.4
#CFLAGS= -O -Dsys5 -DSOLARIS -D_SVID_GETTOD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# use this for Solaris 2.5
1997-01-24 10:19:35 +00:00
@@ -140,7 +140,7 @@
# use this for Linux
1996-10-18 11:50:16 +00:00
#CFLAGS= -g -Dsys5 -DNOSHADOW -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
1997-01-24 10:19:35 +00:00
# use this for FreeBSD
-#CFLAGS= -O -DNOSHADOW -DFreeBSD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
+CFLAGS= -O -DNOSHADOW -D_HAVE_PARAM_H -DUSE_NDBM -DFreeBSD -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT $(AUTH_SERVERS)
# Pick any load options and the load libraries. The AUTH_LIBS
# are selected above
1997-01-24 10:19:35 +00:00
@@ -150,14 +150,14 @@
# See above for the things you may need to add here
#
#LIBS= $(AUTH_LIBS) # use this for Linux, BSDI and friends
-LIBS= -lnsl $(AUTH_LIBS) # use this for SunOS
+#LIBS= -lnsl $(AUTH_LIBS) # use this for SunOS
#LIBS= -lnsl -lsocket $(AUTH_LIBS) # use this for Solaris 2.x
1997-01-24 10:19:35 +00:00
-#LIBS= -lcrypt $(AUTH_LIBS) # use this for FreeBSD
+LIBS= -lcrypt $(AUTH_LIBS) # use this for FreeBSD
1997-01-24 10:19:35 +00:00
# use this for SunOs. Linux, BSDI, FreeBSD
-DBMLIBS= -ldbm
1997-01-24 10:19:35 +00:00
+#DBMLIBS= -ldbm
# use this for Solaris
1997-01-24 10:19:35 +00:00
-#DBMLIBS=
+DBMLIBS=
1997-01-24 10:19:35 +00:00
CMN_OBJS=radiusd.o dict.o util.o md5.o attrprint.o filters.o \
usr_read.o cache.o des.o radipa.o strerror.o