summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-05-26 22:45:11 +0000
committertron <tron@pkgsrc.org>1999-05-26 22:45:11 +0000
commit473bb0bc65f5dde9b4182cd55a3add66a0f6dfdc (patch)
treeba49ad6f3a9048d66b85990723c7c112b0cc677c /misc
parentf38e0520d88a579935118cd598518308bf5756a3 (diff)
downloadpkgsrc-473bb0bc65f5dde9b4182cd55a3add66a0f6dfdc.tar.gz
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.
Diffstat (limited to 'misc')
-rw-r--r--misc/pty-redir/Makefile5
-rw-r--r--misc/pty-redir/patches/patch-ab20
2 files changed, 4 insertions, 21 deletions
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)