From f9f00572b8e9bfa74b9a84396b0b659704870e43 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 26 May 1999 22:45:11 +0000 Subject: Don't patch a broken install rule into the "Makefile" and use a custom "do-install" target instead. Fixes PR pkg/7650 by Eric Mumpower. --- misc/pty-redir/Makefile | 5 ++++- misc/pty-redir/patches/patch-ab | 20 -------------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 misc/pty-redir/patches/patch-ab (limited to 'misc') diff --git a/misc/pty-redir/Makefile b/misc/pty-redir/Makefile index 307c9371d6b..1ec3bce391f 100644 --- a/misc/pty-redir/Makefile +++ b/misc/pty-redir/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/04/08 20:04:15 tron Exp $ +# $NetBSD: Makefile,v 1.2 1999/05/26 22:45:11 tron Exp $ DISTNAME= pty-redir-0.1 CATEGORIES= misc @@ -7,4 +7,7 @@ MASTER_SITES= ftp://ftp.vein.hu/pub/ssa/contrib/mag/ \ MAINTAINER= dustin@spy.net +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/pty-redir ${PREFIX}/bin + .include "../../mk/bsd.pkg.mk" diff --git a/misc/pty-redir/patches/patch-ab b/misc/pty-redir/patches/patch-ab deleted file mode 100644 index 31d28c59051..00000000000 --- a/misc/pty-redir/patches/patch-ab +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 1999/04/08 20:04:16 tron Exp $ -*** Makefile.orig Sat Feb 20 18:44:40 1999 ---- Makefile Sat Feb 20 18:55:40 1999 -*************** -*** 1,10 **** ---- 1,14 ---- - CFLAGS= -Wall - PROG= pty-redir -+ DEST=/usr/pkg/bin/ - - all: $(PROG) - - clean: - rm -f *.o *~ -+ -+ install: $(PROG) -+ install -c -g wheel -m 0755 -o root -s $(PROG) $(DEST) - - distclean: clean - rm -f $(PROG) -- cgit v1.2.3