summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-18 16:34:34 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-18 16:34:34 +0000
commit451d860b223e17749a12fae298be42bb5db21181 (patch)
treeb50a426321a4a1a15b841d29b523aedb5cfe6aee /package
parentf2eca787d95ed7b4430d12b1696f2ab904ca35c4 (diff)
- bump patch version
Diffstat (limited to 'package')
-rw-r--r--package/ed/ed.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/ed/ed.mk b/package/ed/ed.mk
index 66d68de58..4349e2cd6 100644
--- a/package/ed/ed.mk
+++ b/package/ed/ed.mk
@@ -4,7 +4,7 @@
#
#############################################################
ED_SOURCE:=ed_0.2.orig.tar.gz
-ED_PATCH:=ed_0.2-19.diff.gz
+ED_PATCH:=ed_0.2-20.diff.gz
ED_SITE:=http://ftp.debian.org/debian/pool/main/e/ed
ED_CAT:=$(ZCAT)
ED_DIR:=$(BUILD_DIR)/ed-0.2
@@ -19,12 +19,14 @@ $(DL_DIR)/$(ED_PATCH):
ed-source: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
-ed-unpacked: $(ED_DIR)/.unpacked
$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
$(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(ED_DIR) $(DL_DIR) $(ED_PATCH)
+ if [ -d $(ED_DIR)/debian/patches ]; then \
+ toolchain/patch-kernel.sh $(ED_DIR) $(ED_DIR)/debian/patches \*.patch ; \
+ fi
toolchain/patch-kernel.sh $(ED_DIR) package/ed/ ed-*.patch
- touch $(ED_DIR)/.unpacked
+ touch $@
$(ED_DIR)/.configured: $(ED_DIR)/.unpacked
(cd $(ED_DIR); rm -rf config.cache; \
@@ -38,13 +40,13 @@ $(ED_DIR)/.configured: $(ED_DIR)/.unpacked
--exec-prefix=/usr \
$(DISABLE_NLS) \
);
- touch $(ED_DIR)/.configured
+ touch $@
$(ED_DIR)/$(ED_BINARY): $(ED_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(ED_DIR)
$(TARGET_DIR)/$(ED_TARGET_BINARY): $(ED_DIR)/$(ED_BINARY)
- cp -a $(ED_DIR)/$(ED_BINARY) $(TARGET_DIR)/$(ED_TARGET_BINARY)
+ cp -dpf $(ED_DIR)/$(ED_BINARY) $(TARGET_DIR)/$(ED_TARGET_BINARY)
ed: uclibc $(TARGET_DIR)/$(ED_TARGET_BINARY)