2f4fe5a2b1
Drop maintainership, I'm not using this any longer. Changes made between 1.0.1 and 1.0.2 (2006/05/23). A couple of optimizations specific to x86-64 have been applied to the included MD5 routines. Changes made between 1.0 and 1.0.1 (2006/03/07). Use sysconf(_SC_CLK_TCK) instead of CLK_TCK when _SC_CLK_TCK is known to be available or CLK_TCK is not. This is needed for portability to glibc 2.3.90+ and possibly to other recent and future systems. Use socklen_t where appropriate.
47 lines
1,010 B
Text
47 lines
1,010 B
Text
$NetBSD: patch-ab,v 1.9 2006/07/19 22:41:45 wiz Exp $
|
|
|
|
--- Makefile.orig 2006-03-05 10:36:20.000000000 +0000
|
|
+++ Makefile
|
|
@@ -1,30 +1,32 @@
|
|
-CC = gcc
|
|
+#CC = gcc
|
|
LD = $(CC)
|
|
-RM = rm -f
|
|
-MKDIR = mkdir -p
|
|
-INSTALL = install -c
|
|
-CFLAGS = -Wall -O2 -fomit-frame-pointer
|
|
+#RM = rm -f
|
|
+#MKDIR = mkdir -p
|
|
+#INSTALL = install -c
|
|
+CFLAGS += -Wall -O2 -fomit-frame-pointer
|
|
# You may use OpenSSL's MD5 routines instead of the ones supplied here
|
|
#CFLAGS += -DHAVE_OPENSSL
|
|
-LDFLAGS = -s
|
|
+#LDFLAGS = -s
|
|
LIBS =
|
|
# Linux with glibc, FreeBSD, NetBSD
|
|
-#LIBS += -lcrypt
|
|
+LIBS += -lcrypt
|
|
# HP-UX trusted system
|
|
#LIBS += -lsec
|
|
# Solaris (POP_STANDALONE, POP_VIRTUAL)
|
|
-#LIBS += -lsocket -lnsl
|
|
+.ifdef ${OPSYS} == "SunOS"
|
|
+LIBS += -lsocket -lnsl
|
|
+.endif
|
|
# PAM
|
|
#LIBS += -lpam
|
|
# TCP wrappers
|
|
-#LIBS += -lwrap
|
|
+LIBS += -lwrap
|
|
# libwrap may also want this
|
|
#LIBS += -lnsl
|
|
# OpenSSL (-DHAVE_OPENSSL)
|
|
#LIBS += -lcrypto
|
|
|
|
DESTDIR =
|
|
-PREFIX = /usr/local
|
|
+#PREFIX = /usr/local
|
|
SBINDIR = $(PREFIX)/sbin
|
|
MANDIR = $(PREFIX)/man
|
|
|