openbsd-ports/devel/autoconf/2.13/patches/patch-Makefile_in
2008-03-15 07:24:38 +00:00

41 lines
1.5 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2008/03/15 07:24:38 espie Exp $
--- Makefile.in.orig Tue Jan 5 14:27:16 1999
+++ Makefile.in Sat Mar 8 14:09:51 2008
@@ -22,6 +22,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
INSTALL = @INSTALL@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
MAKEINFO = makeinfo
@@ -33,8 +34,8 @@ PERL = @PERL@
# Programs that are ALWAYS installed (and are created in the build dir).
ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
-# M4 input that is frozen.
-M4FROZEN = autoconf.m4f autoheader.m4f
+# Don't freeze anything with OpenBSD m4
+M4FROZEN=
# All programs, including those only installed if you have perl.
SCRIPTS = $(ASCRIPTS) @SCRIPTS@
@@ -141,7 +142,7 @@ installdirs:
install: all $(M4FILES) acconfig.h installdirs install-info
for p in $(ASCRIPTS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
done
for i in $(M4FROZEN); do \
$(INSTALL_DATA) $$i $(acdatadir)/$$i; \
@@ -150,7 +151,7 @@ install: all $(M4FILES) acconfig.h installdirs install
$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
done
-if test -f autoscan; then \
- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
+ $(INSTALL_SCRIPT) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
for i in acfunctions acheaders acidentifiers acprograms \
acmakevars; do \
$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \