openbsd-ports/converters/libiconv/patches/patch-libcharset_lib_Makefile_in
brad 84d3edd335 - sync libtool patches
- bump NEED_VERSION
2001-09-23 03:08:50 +00:00

26 lines
1.2 KiB
Plaintext

$OpenBSD: patch-libcharset_lib_Makefile_in,v 1.4 2001/09/23 03:08:50 brad Exp $
--- libcharset/lib/Makefile.in.orig Wed Jun 27 18:56:56 2001
+++ libcharset/lib/Makefile.in Sat Sep 22 17:50:02 2001
@@ -22,6 +22,7 @@ LIBTOOL_COMPILE = $(LIBTOOL) --mode=comp
LIBTOOL_LINK = $(LIBTOOL) --mode=link
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
+CP = cp
RM = rm -f
# Programs used by "make install":
@@ -71,11 +72,11 @@ ref-del.sed : $(srcdir)/ref-del.sin
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
$(MKINSTALLDIRS) $(libdir)
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(libdir)/libcharset.la
+ $(LIBTOOL_INSTALL) $(CP) libcharset.la $(libdir)/libcharset.la
test -f $(libdir)/charset.alias && orig=$(libdir)/charset.alias \
|| orig=charset.alias; \
sed -f ref-add.sed $$orig > $(libdir)/t-charset.alias; \
- $(INSTALL_DATA) $(libdir)/t-charset.alias $(libdir)/charset.alias; \
+ $(CP) $(libdir)/t-charset.alias $(libdir)/charset.alias; \
rm -f $(libdir)/t-charset.alias
# The following is needed in order to install a simple file in $(libdir)