Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] noip: use a simpler sed command with our $(SED) variable
@ 2015-10-20 13:52 Vicente Olivert Riera
  2015-10-20 13:52 ` [Buildroot] [PATCH 2/3] noip: add $(TARGET_MAKE_ENV) before $(MAKE) Vicente Olivert Riera
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vicente Olivert Riera @ 2015-10-20 13:52 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/noip/noip.mk |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/package/noip/noip.mk b/package/noip/noip.mk
index fceea1e..98edfca 100644
--- a/package/noip/noip.mk
+++ b/package/noip/noip.mk
@@ -11,8 +11,7 @@ NOIP_LICENSE = GPLv2+
 NOIP_LICENSE_FILES = COPYING
 
 define NOIP_BUILD_CMDS
-	sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
-		$(@D)/noip2.c
+	$(SED) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c
 	$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
 		PREFIX=/usr CONFDIR=/etc
 endef
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-21 20:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 13:52 [Buildroot] [PATCH 1/3] noip: use a simpler sed command with our $(SED) variable Vicente Olivert Riera
2015-10-20 13:52 ` [Buildroot] [PATCH 2/3] noip: add $(TARGET_MAKE_ENV) before $(MAKE) Vicente Olivert Riera
2015-10-20 13:52 ` [Buildroot] [PATCH 3/3] noip: add a hash file Vicente Olivert Riera
2015-10-21 20:14 ` [Buildroot] [PATCH 1/3] noip: use a simpler sed command with our $(SED) variable Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox