1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/net/ripetools/files/patch-aa

50 lines
1.2 KiB
Plaintext
Raw Normal View History

--- 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