diff options
Diffstat (limited to 'net/ripetools/files/patch-aa')
-rw-r--r-- | net/ripetools/files/patch-aa | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net/ripetools/files/patch-aa b/net/ripetools/files/patch-aa new file mode 100644 index 000000000000..c2a8e2af46b6 --- /dev/null +++ b/net/ripetools/files/patch-aa @@ -0,0 +1,49 @@ +--- Makefile.orig Fri May 16 11:26:32 1997 ++++ Makefile Sun Jun 8 12:12:48 1997 +@@ -16,26 +16,26 @@ + + + DEFINES= -DRIPE +-PROG= whois cryptpw +-DESTDIR= /usr/local/bin +-MANDIR= /usr/local/man/man1 ++PROG= ripewhois ++DESTDIR= ${PREFIX}/bin ++MANDIR= ${PREFIX}/man/man1 + INSTALL= install + # LIBS= -lresolv + CFLAGS= ${DEFINES} + # + # for BSDI +-CC=shlicc2 -Wall -ansi -pedantic -O6 -m486 ++#CC=shlicc2 -Wall -ansi -pedantic -O6 -m486 + # + # for Linux + #CC=gcc -Wall -ansi -pedantic -O6 -m486 + # + # for most systems +-#CC=gcc -Wall -ansi -pedantic -O6 ++CC=gcc -Wall -ansi -pedantic -O2 + + all: $(PROG) + +-whois: Makefile whois.c +- $(CC) ${CFLAGS} whois.c -o whois ${LIBS} ++ripewhois: Makefile whois.c ++ $(CC) ${CFLAGS} whois.c -o ripewhois ${LIBS} + $(CC) ${CFLAGS} -DNETWORKUPDATE whois.c -o networkupdate ${LIBS} + + cryptpw: Makefile cryptpw.c +@@ -43,10 +43,10 @@ + + install: ${PROG} + $(INSTALL) -c -s -m 755 ${PROG} networkupdate ${DESTDIR} +- $(INSTALL) -c -m 444 whois.man ${MANDIR}/whois.1 ++ $(INSTALL) -c -m 444 whois.man ${MANDIR}/ripewhois.1 + + clean: +- rm -f whois.o whois cryptpw cryptpw.o networkupdate networkupdate.o core ++ rm -f whois.o ripewhois cryptpw cryptpw.o networkupdate networkupdate.o core + + CURRENTNAME=ripe-whois-tools-2.2 + |