1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/ztelnet/files/patch-ak
CHOI Junho b94f60a58b - fix core-dump problem in 4.x reported in ports/18573
- cleanup patches and extra file
- fix unnecessary delay(from byung)
- resurrect MAINTAINER line(me)
- fix distfile location
- fix DESCR to correct maintainer

PR:		ports/18573
Submitted by:	byung@nowcool.dhs.org
2000-06-20 14:27:33 +00:00

49 lines
1.3 KiB
Plaintext

diff -uNr --exclude=*.orig work.old/ztelnet/telnet/Makefile.generic work/ztelnet/telnet/Makefile.generic
--- work.old/ztelnet/telnet/Makefile.generic Thu Sep 21 04:42:39 1995
+++ work/ztelnet/telnet/Makefile.generic Tue Jun 20 22:58:31 2000
@@ -19,28 +19,22 @@
# @(#)Makefile.generic 5.5 (Berkeley) 3/1/91
#
-INCLUDES= -I..
-
-ifeq (linux,${LINUX})
-ARPA_TELNET= ../arpa/tel-lnx.h
-CFLAGS= ${LCCFLAGS} ${INCLUDES} ${DEFINES}
-else
-ARPA_TELNET= ../arpa/telnet.h
-CFLAGS= -O ${INCLUDES} ${DEFINES}
-endif
+INCLUDES= -I..
+ARPA_TELNET= ../arpa/telnet.h
SRCS= commands.c main.c network.c ring.c \
sys_bsd.c telnet.c terminal.c \
utilities.c ${GETOPT_SRC}
+CFLAGS= -O2 ${INCLUDES} ${DEFINES}
ALLHC= ${SRCS} \
defines.h externs.h fdset.h general.h \
ring.h types.h
OBJS= authenc.o commands.o main.o network.o ring.o sys_bsd.o \
- telnet.o terminal.o utilities.o ${GETOPT_OBJ} \
- ../zmodem/rz.o ../zmodem/sz.o
+ telnet.o terminal.o utilities.o ${GETOPT_OBJ}
+
MAN= telnet.0
#
@@ -73,8 +67,8 @@
mkdep ${CFLAGS} `make clist`
install: ${MAN} FRC
- install -s -o bin -g bin -m 755 telnet ${LIBEXEC}
- install -c -o bin -g bin -m 444 telnet.0 ${DEST}/man/cat1
+ install -s -o bin -g bin -m 755 telnet ${DEST}
+ install -c -o bin -g bin -m 444 telnet.0 ${DESTDIR}/usr/man/cat1
lint: FRC ${SRCS}
lint ${CFLAGS} `make clist`