From: Jonatan Schlag Date: Fri, 25 Mar 2016 10:13:16 +0000 (+0100) Subject: build ebtables with the new patch (nothing go into usr local) X-Git-Tag: v2.19-core101~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea1cffd50d30e0e85a5cf1ca437896f652f0e361;p=ipfire-2.x.git build ebtables with the new patch (nothing go into usr local) Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/packages/ebtables b/config/rootfiles/packages/ebtables index 7e10eee41f..8eab1f62ac 100644 --- a/config/rootfiles/packages/ebtables +++ b/config/rootfiles/packages/ebtables @@ -23,8 +23,7 @@ usr/lib/libebtable_broute.so usr/lib/libebtable_filter.so usr/lib/libebtable_nat.so usr/lib/libebtc.so -#usr/local/man/man8 -#usr/local/man/man8/ebtables.8 -usr/local/sbin/ebtables -usr/local/sbin/ebtables-restore -usr/local/sbin/ebtables-save +#usr/man/man8/ebtables.8 +usr/sbin/ebtables +usr/sbin/ebtables-restore +usr/sbin/ebtables-save diff --git a/lfs/ebtables b/lfs/ebtables index 0c55a21c58..60028fdd9e 100644 --- a/lfs/ebtables +++ b/lfs/ebtables @@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ebtables/0001-ebtables-should-install-nothing-in-usr-local.patch cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(CFLAGS)" cd $(DIR_APP) && make install @rm -rf $(DIR_APP)