pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: pkg/39795: install-sh fails at pax with IRIX /bin/sh
The following reply was made to PR pkg/39795; it has been noted by GNATS.
From: "Larson, Timothy E." <TELarson%west.com@localhost>
To: <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: RE: pkg/39795: install-sh fails at pax with IRIX /bin/sh
Date: Fri, 31 Oct 2008 15:31:09 -0500
This seems to do the trick:
root@franklin 568# diff -u archivers/pax/files/Makefile.in.orig
archivers/pax/files/Makefile.in
--- archivers/pax/files/Makefile.in.orig Thu Aug 28 08:50:37 2008
+++ archivers/pax/files/Makefile.in Fri Oct 31 08:47:58 2008
@@ -24,6 +24,10 @@
PROG=3D pax
+transformed_prog_name!=3D echo $(PROG) | sed
'$(program_transform_name)'
+transformed_cpio_name!=3D echo cpio | sed
'$(program_transform_name)'
+transformed_tar_name!=3D echo tar | sed '$(program_transform_name)'
+
OBJS=3D ar_io.o ar_subs.o buf_subs.o file_subs.o ftree.o \
gen_subs.o getoldopt.o options.o pat_rep.o pax.o sel_subs.o
tables.o \
tar.o tty_subs.o \
@@ -48,12 +52,12 @@
$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
$(INSTALL) -m 755 -d $(DESTDIR)$(man1dir)
$(INSTALL) -m 755 -d $(DESTDIR)$(cat1dir)
- $(INSTALL) $(PROG) $(DESTDIR)$(bindir)/$$(echo $(PROG) | sed
'$(program_transform_name)')
- ln -f $(DESTDIR)$(bindir)/$$(echo $(PROG) | sed
'$(program_transform_name)') $(DESTDIR)$(bindir)/$$(echo cpio | sed
'$(program_transform_name)')
- ln -f $(DESTDIR)$(bindir)/$$(echo $(PROG) | sed
'$(program_transform_name)') $(DESTDIR)$(bindir)/$$(echo tar | sed
'$(program_transform_name)')
- $(INSTALL) -m 444 $(PROG).1 $(DESTDIR)$(man1dir)/$$(echo $(PROG)
| sed '$(program_transform_name)').1
- $(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$$(echo
$(PROG) | sed '$(program_transform_name)').0
- $(INSTALL) -m 444 cpio.1 $(DESTDIR)$(man1dir)/$$(echo cpio | sed
'$(program_transform_name)').1
- $(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/$$(echo cpio |
sed '$(program_transform_name)').0
- $(INSTALL) -m 444 tar.1 $(DESTDIR)$(man1dir)/$$(echo tar | sed
'$(program_transform_name)').1
- $(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/$$(echo tar |
sed '$(program_transform_name)').0
+ $(INSTALL) $(PROG) $(DESTDIR)$(bindir)/$(transformed_prog_name)
+ ln -f $(DESTDIR)$(bindir)/$(transformed_prog_name)
$(DESTDIR)$(bindir)/$(transformed_cpio_name)
+ ln -f $(DESTDIR)$(bindir)/$(transformed_prog_name)
$(DESTDIR)$(bindir)/$(transformed_tar_name)
+ $(INSTALL) -m 444 $(PROG).1
$(DESTDIR)$(man1dir)/$(transformed_prog_name).1
+ $(INSTALL) -m 444 $(PROG).cat1
$(DESTDIR)$(cat1dir)/$(transformed_prog_name).0
+ $(INSTALL) -m 444 cpio.1
$(DESTDIR)$(man1dir)/$(transformed_cpio_name).1
+ $(INSTALL) -m 444 cpio.cat1
$(DESTDIR)$(cat1dir)/$(transformed_cpio_name).0
+ $(INSTALL) -m 444 tar.1
$(DESTDIR)$(man1dir)/$(transformed_tar_name).1
+ $(INSTALL) -m 444 tar.cat1
$(DESTDIR)$(cat1dir)/$(transformed_tar_name).0
--=20
Tim Larson AMT2 Unix Systems Administrator
InterCall, a division of West Corporation
Eschew obfuscation!
Home |
Main Index |
Thread Index |
Old Index