]> git.ipfire.org Git - pakfire.git/commitdiff
patches: Add platform patches.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Oct 2012 20:19:26 +0000 (22:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Oct 2012 20:19:26 +0000 (22:19 +0200)
macros/constants.macro

index 74484ea6ff29f360993305503dfe73f63eab5807..2163a8b4402c74e704b934efc991382a6eb6c40e 100644 (file)
@@ -11,7 +11,7 @@ DIR_SOURCE  = %{BASEDIR}
 
 # By default, take all patches from the patches directory
 # in alphabetical order.
-patches = $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version-sort)
+patches = %(find %{DIR_PATCHES} %{DIR_PATCHES}/%{DISTRO_ARCH} -not -type d -maxdepth 1 2>/dev/null | sort --version-sort)
 sources = %{thisapp}.tar.gz
 
 # Macro definitions