From 620dd7c5fd1895001a2c680d5dd1dbdbb6f3101d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 13 Nov 2003 06:02:20 +0000 Subject: By popular demand, use 'sed' rather than 'perl' for doing search and replace stuff. Hopefully we do not have any perl specific regexs that will be broken by this change, but it seems to be working thus far anyways, --- make/ntp.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/ntp.mk') diff --git a/make/ntp.mk b/make/ntp.mk index f691b6678..4b213339e 100644 --- a/make/ntp.mk +++ b/make/ntp.mk @@ -18,7 +18,7 @@ ntp-source: $(DL_DIR)/$(NTP_SOURCE) $(NTP_DIR)/.unpacked: $(DL_DIR)/$(NTP_SOURCE) $(NTP_CAT) $(DL_DIR)/$(NTP_SOURCE) | tar -C $(BUILD_DIR) -xvf - - perl -i -p -e "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," \ + sed -ie "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," \ $(NTP_DIR)/ntpd/refclock_pcf.c; touch $(NTP_DIR)/.unpacked -- cgit v1.2.3