Use BSD_INSTALL_* for correct ownership and permission. Pointed out by
Darrin B. Jewell in PR pkg/30005.
This commit is contained in:
parent
c323b708b1
commit
be2e5dd266
2 changed files with 11 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.2 2005/02/24 12:14:05 agc Exp $
|
||||
$NetBSD: distinfo,v 1.3 2005/05/09 21:29:52 minskim Exp $
|
||||
|
||||
SHA1 (tcpslice-1.2a1.tar.gz) = ff954089339d375ffa780a10a5df8d6033515126
|
||||
RMD160 (tcpslice-1.2a1.tar.gz) = 0a89e05b5584c6d423f6f7ee983708aaaabd4185
|
||||
Size (tcpslice-1.2a1.tar.gz) = 59286 bytes
|
||||
SHA1 (patch-aa) = 05c59300a87d049bb67596e19527f61ea0d77b1c
|
||||
SHA1 (patch-aa) = 82aa2bb3cd7a691ea0559b804ca334588b37822b
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $
|
||||
$NetBSD: patch-aa,v 1.2 2005/05/09 21:29:52 minskim Exp $
|
||||
|
||||
--- Makefile.in.orig Sun Sep 10 10:54:27 2000
|
||||
--- Makefile.in.orig 2000-09-10 03:54:27.000000000 -0500
|
||||
+++ Makefile.in
|
||||
@@ -56,6 +56,9 @@
|
||||
@@ -56,6 +56,9 @@ LIBS = @LIBS@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
|
||||
|
@ -12,15 +12,18 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $
|
|||
# Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
|
||||
# Also, gcc does not remove the .o before forking 'as', which can be a
|
||||
# problem if you don't own the file but can write to the directory.
|
||||
@@ -97,9 +100,11 @@
|
||||
@@ -97,10 +100,12 @@ version.c: $(srcdir)/VERSION
|
||||
sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
|
||||
|
||||
install: force
|
||||
- $(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST)
|
||||
+ -$(INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDEST)
|
||||
$(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST)
|
||||
+ $(BSD_INSTALL_PROGRAM) tcpslice $(DESTDIR)$(BINDEST)
|
||||
|
||||
install-man: force
|
||||
- $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
|
||||
+ $(INSTALL_MAN_DIR) $(DESTDIR)$(MANDEST)/man1
|
||||
$(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
|
||||
+ $(BSD_INSTALL_MAN) $(srcdir)/$(PROG).1 \
|
||||
$(DESTDIR)$(MANDEST)/man1
|
||||
|
||||
lint: $(GENSRC) force
|
||||
|
|
Loading…
Reference in a new issue