commit f3c28e9d14ea4e768a87e9f120b06300f8d485ea
parent 846c7965adafeba64cd9295d9cbc19fd7938beef
Author: Daniel Bainton <dpb@driftaway.org>
Date: Mon, 26 May 2014 13:21:16 +0300
Add support for patching
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/mk.3rdparty b/mk.3rdparty
@@ -2,7 +2,7 @@
all:QV: build
-build:QV: fetch
+build:QV: fetch patch
mkdir -p $src
oldpwd=`pwd`
cd $src
@@ -19,6 +19,12 @@ build:QV: fetch
fi
done
+patch:QV: fetch
+ cd $src
+ for p in $patches; do
+ patch -p1 < $p
+ done
+
install:QV: all
cd $src
for f in $mkfile; do