diff -dru whois-4.6.3/Makefile whois-4.6.3.fjo/Makefile --- whois-4.6.3/Makefile Thu Dec 5 01:22:15 2002 +++ whois-4.6.3.fjo/Makefile Mon Apr 28 11:00:14 2003 @@ -1,6 +1,7 @@ -prefix=/usr/local +prefix=/usr -OPTS=-O2 +CC=diet -Os gcc +OPTS=-Wall -s -nostdinc # Solaris #LDFLAGS=-lnsl -lsocket @@ -33,10 +34,10 @@ perl make_tld_serv.pl < tld_serv_list > tld_serv.h install: whois + mkdir -p $(BASEDIR)$(prefix)/bin $(BASEDIR)$(prefix)/share/man/man1 install -m 0755 whois $(BASEDIR)$(prefix)/bin/ strip $(BASEDIR)$(prefix)/bin/whois install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/ - cd po && $(MAKE) $@ distclean: clean diff -dru whois-4.6.3/config.h whois-4.6.3.fjo/config.h --- whois-4.6.3/config.h Sun Mar 16 15:29:18 2003 +++ whois-4.6.3.fjo/config.h Mon Apr 28 10:58:03 2003 @@ -18,11 +18,6 @@ #define CONFIG_FILE "/etc/whois.conf" */ -/* autoconf in cpp macros */ -#ifdef linux -# define ENABLE_NLS -#endif - #ifdef __FreeBSD__ /* which versions? */ # define HAVE_GETOPT_LONG @@ -37,16 +32,10 @@ # define HAVE_GETADDRINFO #endif -#if defined __GLIBC__ # define HAVE_GETOPT_LONG -# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 # define HAVE_GETADDRINFO -# endif -#endif -#if defined _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 2 # define HAVE_REGEXEC -#endif /* system features */