From: Michael Tremer Date: Wed, 27 Jan 2010 14:33:41 +0000 (+0100) Subject: patch: Run autoreconf on build. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e22ad04e45e2f9c6b7954801f8b6515ee3ac6c;p=ipfire-3.x.git patch: Run autoreconf on build. --- diff --git a/pkgs/core/patch/patch.nm b/pkgs/core/patch/patch.nm index 956eff213..f6d1c8f60 100644 --- a/pkgs/core/patch/patch.nm +++ b/pkgs/core/patch/patch.nm @@ -34,6 +34,8 @@ PKG_URL = http://www.gnu.org/software/patch/patch.html PKG_LICENSE = GPLv2+ PKG_SUMMARY = Utility for modifying/upgrading files. +PKG_BUILD_DEPS+= autoconf + define PKG_DESCRIPTION The patch program applies diff files to originals. The diff \ command is used to compare an original to a changed file.\ @@ -54,6 +56,10 @@ PKG_PATCHES += $(THISAPP)-fixes-1.patch # Installation Details ############################################################################### +define STAGE_PREPARE_CMDS + cd $(DIR_APP) && autoreconf --force +endef + define STAGE_INSTALL cd $(DIR_APP) && make install prefix=$(BUILDROOT)/usr endef