aboutsummaryrefslogtreecommitdiff
path: root/package/openntpd
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-10-01 15:17:52 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-10-01 15:17:52 +0000
commit6342c83201d5fd2acef0f3193f53b19f74b14c73 (patch)
tree8653e11ddecfde69a6545825d0cc5058e0906e9c /package/openntpd
parent859b9137fd6cfb62380691271aec4b06f086f900 (diff)
downloadbuildroot-6342c83201d5fd2acef0f3193f53b19f74b14c73.tar.gz
buildroot-6342c83201d5fd2acef0f3193f53b19f74b14c73.tar.bz2
- use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
Diffstat (limited to 'package/openntpd')
-rw-r--r--package/openntpd/openntpd.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk
index 8344319cc9..767cb05fa2 100644
--- a/package/openntpd/openntpd.mk
+++ b/package/openntpd/openntpd.mk
@@ -7,7 +7,7 @@ OPENNTPD_VERSION:=3.6.1p1
OPENNTPD_SOURCE:=openntpd-$(OPENNTPD_VERSION).tar.gz
OPENNTPD_SITE:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD
OPENNTPD_DIR:=$(BUILD_DIR)/openntpd-$(OPENNTPD_VERSION)
-OPENNTPD_CAT:=zcat
+OPENNTPD_CAT:=$(ZCAT)
OPENNTPD_BINARY:=ntpd
OPENNTPD_TARGET_BINARY:=usr/sbin/foo
@@ -15,7 +15,7 @@ $(DL_DIR)/$(OPENNTPD_SOURCE):
$(WGET) -P $(DL_DIR) $(OPENNTPD_SITE)/$(OPENNTPD_SOURCE)
$(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE)
- zcat $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(ZCAT) $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(OPENNTPD_DIR)/.source
$(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source