aboutsummaryrefslogtreecommitdiff
path: root/package/patch/patch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/patch/patch.mk')
-rw-r--r--package/patch/patch.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/patch/patch.mk b/package/patch/patch.mk
index 6871d80b0b..84e35285b2 100644
--- a/package/patch/patch.mk
+++ b/package/patch/patch.mk
@@ -3,10 +3,11 @@
# patch
#
#############################################################
-GNUPATCH_SOURCE:=patch_2.5.9.orig.tar.gz
+GNUPATCH_VERSION:=2.5.9
+GNUPATCH_SOURCE:=patch_$(GNUPATCH_VERSION).orig.tar.gz
GNUPATCH_SITE:=http://ftp.debian.org/debian/pool/main/p/patch
GNUPATCH_CAT:=$(ZCAT)
-GNUPATCH_DIR:=$(BUILD_DIR)/patch-2.5.9
+GNUPATCH_DIR:=$(BUILD_DIR)/patch-$(GNUPATCH_VERSION)
GNUPATCH_BINARY:=patch
GNUPATCH_TARGET_BINARY:=usr/bin/patch