openbsd-ports/sysutils/mtools/patches/patch-Makefile_in
2001-02-24 09:08:53 +00:00

53 lines
1.6 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2001/02/24 09:08:55 fgsch Exp $
--- Makefile.in.orig Sat Feb 24 05:49:11 2001
+++ Makefile.in Sat Feb 24 05:49:12 2001
@@ -26,7 +26,7 @@ top_srcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@
-prefix = @prefix@
+prefix = ${PREFIX}
exec_prefix = @exec_prefix@
bindir = @bindir@
infodir = @infodir@
@@ -48,10 +48,11 @@ SHLIB = @SHLIB@
MACHDEPLIBS = @MACHDEPLIBS@
LN_S = @LN_S@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_INFO = @INSTALL_INFO@
+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
+INSTALL_DATA = ${BSD_INSTALL_DATA}
+INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
+INSTALL_MAN = ${BSD_INSTALL_MAN}
+INSTALL_INFO = @INSTALL_INFO@
.SUFFIXES:
.SUFFIXES: .o .c
@@ -258,7 +259,7 @@ install-links: $(bindir)/mtools
install-scripts: $(bindir)/mtools
@$(top_srcdir)/mkinstalldirs $(bindir)
@for j in $(SCRIPTS) ; do \
- $(INSTALL_PROGRAM) $(srcdir)/scripts/$$j $(bindir)/$$j ; \
+ $(INSTALL_SCRIPT) $(srcdir)/scripts/$$j $(bindir)/$$j ; \
echo $(bindir)/$$j ; \
done
rm -f $(bindir)/lz
@@ -267,12 +268,12 @@ install-scripts: $(bindir)/mtools
install-man:
@$(top_srcdir)/mkinstalldirs $(MAN1DIR)
@for j in $(MAN1); do \
- $(INSTALL_DATA) $(srcdir)/$$j $(MAN1DIR)/$$j ; \
+ $(INSTALL_MAN) $(srcdir)/$$j $(MAN1DIR)/$$j ; \
echo $(MAN1DIR)/$$j ; \
done
@$(top_srcdir)/mkinstalldirs $(MAN5DIR)
@for j in $(MAN5); do \
- $(INSTALL_DATA) $(srcdir)/$$j $(MAN5DIR)/$$j ; \
+ $(INSTALL_MAN) $(srcdir)/$$j $(MAN5DIR)/$$j ; \
echo $(MAN5DIR)/$$j ; \
done