Use --mode argument correctly for libtool.

This commit is contained in:
joerg 2009-09-09 17:21:52 +00:00
parent 67fd8cd26c
commit 6f458bbf5a
3 changed files with 12 additions and 11 deletions

View file

@ -1,12 +1,12 @@
$NetBSD: distinfo,v 1.5 2006/02/24 21:01:23 minskim Exp $
$NetBSD: distinfo,v 1.6 2009/09/09 17:21:52 joerg Exp $
SHA1 (VFlib2-2.24.2.tar.gz) = 970ab8e18e50f10763af27ebcfee135bbfdbcda5
RMD160 (VFlib2-2.24.2.tar.gz) = d27353348612316826200ca0bab4e397cea21478
Size (VFlib2-2.24.2.tar.gz) = 540093 bytes
SHA1 (patch-aa) = c78284c8126b8a2f1ccf43360b9f2e0f0468c2e1
SHA1 (patch-ab) = 1654d8a602097eed3a8fb4c146287eadbae0c3be
SHA1 (patch-ac) = 6a8b1b8565ca4ce689fc5b873faf15ea6268da01
SHA1 (patch-ad) = 329c265785f4e3134b67f37c1e1d1f7f6aa60337
SHA1 (patch-ac) = bf68e3561599c0e1840333fa719e88e0960ecbb9
SHA1 (patch-ad) = e17a354d1fe1a999fd732779ded419f350ac7aab
SHA1 (patch-ae) = 6b2512548bc122b915c15067791aeecfcb2ef8a6
SHA1 (patch-af) = daae96f7c5218eb9fd22d297121a93f5bd266bed
SHA1 (patch-ag) = 909528fb09ac340f4b26b9a76d098ce185fd74a1

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.2 2002/08/25 18:39:45 jlam Exp $
$NetBSD: patch-ac,v 1.3 2009/09/09 17:21:52 joerg Exp $
--- src/Makefile.in.orig Tue Oct 27 02:33:17 1998
+++ src/Makefile.in
@ -16,8 +16,9 @@ $NetBSD: patch-ac,v 1.2 2002/08/25 18:39:45 jlam Exp $
# Installing
install:
- $(LIBTOOL) $(CP) $(VFLIB) $(libdir)/$(VFLIB)
+ $(LIBTOOL) $(BSD_INSTALL_DATA) $(VFLIB) $(libdir)/$(VFLIB)
$(LIBTOOL) -n --finish $(libdir)
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(VFLIB) $(libdir)/$(VFLIB)
- $(LIBTOOL) -n --finish $(libdir)
+ $(LIBTOOL) -n --mode=finish $(libdir)
- $(CP) VF.h $(includedir)/VF.h
- $(CP) VF.h $(runtimedir)/VF.h
- $(LIBTOOL) $(CP) ttindex $(bindir)/ttindex
@ -25,9 +26,9 @@ $NetBSD: patch-ac,v 1.2 2002/08/25 18:39:45 jlam Exp $
- $(LIBTOOL) $(CP) bdfindex $(bindir)/fwindex
+ $(BSD_INSTALL_DATA) VF.h $(includedir)/VF.h
+ $(BSD_INSTALL_DATA) VF.h $(runtimedir)/VF.h
+ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) ttindex $(bindir)/ttindex
+ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) bdfindex $(bindir)/bdfindex
+ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) bdfindex $(bindir)/fwindex
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) ttindex $(bindir)/ttindex
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) bdfindex $(bindir)/bdfindex
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) bdfindex $(bindir)/fwindex
uninstall:
-$(LIBTOOL) $(RM) $(libdir)/$(VFLIB)
-$(RM) $(includedir)/VF.h

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ad,v 1.2 2002/08/25 18:39:45 jlam Exp $
$NetBSD: patch-ad,v 1.3 2009/09/09 17:21:52 joerg Exp $
--- tools/Imakefile.in.orig Tue Oct 27 03:02:45 1998
+++ tools/Imakefile.in Mon May 1 04:41:40 2000
@ -84,7 +84,7 @@ $NetBSD: patch-ad,v 1.2 2002/08/25 18:39:45 jlam Exp $
./recmkdir $(bindir); fi
@for P in $(INSTALL_PROGRAMS) ; do \
- $(LIBTOOL) $(CP) $$P $(bindir)/$$P ; \
+ $(LIBTOOL) $(BSD_INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
done;
uninstall::
@for P in $(INSTALL_PROGRAMS) ; do \