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

48 lines
1.2 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Thu Oct 1 18:28:49 1998
+++ Makefile Tue Dec 22 14:57:27 1998
@@ -16,15 +16,15 @@
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}
+CFLAGS+= ${DEFINES} -Wall -ansi -pedantic
#
# 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
@@ -34,8 +34,8 @@
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