]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
patch: Run autoreconf on build.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jan 2010 14:33:41 +0000 (15:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jan 2010 14:33:41 +0000 (15:33 +0100)
pkgs/core/patch/patch.nm

index 956eff213cfa3bba69cc18a53f698cbf8d854f86..f6d1c8f605f2f6faf19e20e9d32fccdef8666bb3 100644 (file)
@@ -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