aboutsummaryrefslogtreecommitdiff
path: root/package/cvs/cvs.mk
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-08 15:17:41 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-05-08 15:17:41 +0000
commit647dbeeeeff8d3d6c1e9df44b337f761455fb9b6 (patch)
treebca6a2d1545af44c0beedc371995619113485ba9 /package/cvs/cvs.mk
parenta70e39cd5e7c6fa084e548240d362b5b1ae813a8 (diff)
downloadbuildroot-647dbeeeeff8d3d6c1e9df44b337f761455fb9b6.tar.gz
buildroot-647dbeeeeff8d3d6c1e9df44b337f761455fb9b6.tar.bz2
- bump version. Closes #1339
Diffstat (limited to 'package/cvs/cvs.mk')
-rw-r--r--package/cvs/cvs.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/cvs/cvs.mk b/package/cvs/cvs.mk
index 2892838b53..73dd62c287 100644
--- a/package/cvs/cvs.mk
+++ b/package/cvs/cvs.mk
@@ -5,7 +5,7 @@
#############################################################
CVS_VER:=1.12.13
CVS_SOURCE:=cvs_$(CVS_VER).orig.tar.gz
-CVS_PATCH:=cvs_$(CVS_VER)-7.diff.gz
+CVS_PATCH:=cvs_$(CVS_VER)-8.diff.gz
CVS_SITE:=http://ftp.debian.org/debian/pool/main/c/cvs/
CVS_DIR:=$(BUILD_DIR)/cvs-$(CVS_VER)
CVS_CAT:=$(ZCAT)
@@ -25,12 +25,14 @@ endif
$(DL_DIR)/$(CVS_SOURCE):
$(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_SOURCE)
-$(DL_DIR)/$(CVS_PATCH):
+ifneq ($(CVS_PATCH),)
+CVS_PATCH_FILE=$(DL_DIR)/$(CVS_PATCH)
+$(CVS_PATCH_FILE):
$(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_PATCH)
+endif
+cvs-source: $(DL_DIR)/$(CVS_SOURCE) $(CVS_PATCH_FILE)
-cvs-source: $(DL_DIR)/$(CVS_SOURCE) $(DL_DIR)/$(CVS_PATCH)
-
-$(CVS_DIR)/.unpacked: $(DL_DIR)/$(CVS_SOURCE) $(DL_DIR)/$(CVS_PATCH)
+$(CVS_DIR)/.unpacked: $(DL_DIR)/$(CVS_SOURCE) $(CVS_PATCH_FILE)
-mkdir $(CVS_DIR)
$(CVS_CAT) $(DL_DIR)/$(CVS_SOURCE) | tar -C $(CVS_DIR) $(TAR_OPTIONS) -
$(BZCAT) $(CVS_DIR)/cvs-$(CVS_VER)/cvs-$(CVS_VER).tar.bz2 | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
@@ -47,7 +49,7 @@ ifneq ($(CVS_PATCH),)
toolchain/patch-kernel.sh $(CVS_DIR) $(CVS_DIR)/debian/patches \* ; \
fi
endif
- touch $(CVS_DIR)/.unpacked
+ touch $@
$(CVS_DIR)/.configured: $(CVS_DIR)/.unpacked
(cd $(CVS_DIR); rm -rf config.cache; \