diff options
Diffstat (limited to 'rules/host-autotools-autoconf.make')
-rw-r--r-- | rules/host-autotools-autoconf.make | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make index b063fb529..9f9c4de94 100644 --- a/rules/host-autotools-autoconf.make +++ b/rules/host-autotools-autoconf.make @@ -23,7 +23,6 @@ HOST_AUTOTOOLS_AUTOCONF_SUFFIX := tar.xz HOST_AUTOTOOLS_AUTOCONF_URL := $(call ptx/mirror, GNU, autoconf/$(HOST_AUTOTOOLS_AUTOCONF).$(HOST_AUTOTOOLS_AUTOCONF_SUFFIX)) HOST_AUTOTOOLS_AUTOCONF_SOURCE := $(SRCDIR)/$(HOST_AUTOTOOLS_AUTOCONF).$(HOST_AUTOTOOLS_AUTOCONF_SUFFIX) HOST_AUTOTOOLS_AUTOCONF_DIR := $(HOST_BUILDDIR)/$(HOST_AUTOTOOLS_AUTOCONF) -HOST_AUTOTOOLS_AUTOCONF_DEVPKG := NO HOST_AUTOTOOLS_AUTOCONF_LICENSE := GPL-2.0-only AND GPL-3.0-only AND Autoconf-exception-3.0 HOST_AUTOTOOLS_AUTOCONF_LICENSE_FILES := \ file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ @@ -41,4 +40,18 @@ $(STATEDIR)/autogen-tools: $(STATEDIR)/host-autotools-autoconf.install.post # HOST_AUTOTOOLS_AUTOCONF_CONF_TOOL := autoconf +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-autotools-autoconf.install.post: + @$(call targetinfo) + @sed -i \ + -e "s;'\(/share/autoconf\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + -e "s;'\(/bin/\(m4\)\?\(auto[^']*\)\)';'$(PTXDIST_SYSROOT_HOST)\1';g" \ + $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/bin/* \ + $(HOST_AUTOTOOLS_AUTOCONF_PKGDIR)/share/autoconf/autom4te.cfg + @$(call world/install.post, HOST_AUTOTOOLS_AUTOCONF) + @$(call touch) + # vim: syntax=make |