[PATCH] igmpproxy: fix build fail and move binary to /usr/sbin v2

Marcel Lorenz marcel.lorenz at ipfire.org
Thu Jun 2 16:09:18 CEST 2016


Add "--prefix=/usr" to lfs file

Signed-off-by: Marcel Lorenz <marcel.lorenz at ipfire.org>
---
 config/rootfiles/packages/igmpproxy | 6 +++---
 lfs/igmpproxy                       | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/rootfiles/packages/igmpproxy b/config/rootfiles/packages/igmpproxy
index 1b34521..f857d2b 100644
--- a/config/rootfiles/packages/igmpproxy
+++ b/config/rootfiles/packages/igmpproxy
@@ -1,5 +1,5 @@
 etc/igmpproxy.conf
-usr/local/sbin/igmpproxy
-#usr/local/share/man/man5/igmpproxy.conf.5
-#usr/local/share/man/man8/igmpproxy.8
+usr/sbin/igmpproxy
+#usr/share/man/man5/igmpproxy.conf.5
+#usr/share/man/man8/igmpproxy.8
 var/ipfire/backup/addons/includes/igmpproxy
diff --git a/lfs/igmpproxy b/lfs/igmpproxy
index fb1426f..7a943dd 100644
--- a/lfs/igmpproxy
+++ b/lfs/igmpproxy
@@ -82,8 +82,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-003-Restrict-igmp-reports-for-downstream-interfaces-wrt-.patch
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-004-Restrict-igmp-reports-forwarding-to-upstream-interfa.patch
 	cd $(DIR_APP) && patch -Np1  < $(DIR_SRC)/src/patches/igmpproxy-100-use-monotic-clock-instead-of-time-of-day.patch
-	cd $(DIR_APP) && autoreconf
-	cd $(DIR_APP) && ./configure --sysconfdir=/etc
+	cd $(DIR_APP) && aclocal && automake --add-missing && autoreconf
+	cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	install -v -m 644 $(DIR_SRC)/config/backup/includes/igmpproxy \
-- 
1.9.1



More information about the Development mailing list