On 2012-02-22 11:09 PM, Philip Prindeville wrote:
> If targets_install is empty, then handle it properly.
> 
> Signed-off-by: Philip Prindeville <[email protected]>
> 
> 
> iptables.patch
> 
> 
> Index: package/iptables/patches/300-extensions-strip.patch
> ===================================================================
> --- package/iptables/patches/300-extensions-strip.patch       (revision 0)
> +++ package/iptables/patches/300-extensions-strip.patch       (revision 0)
> @@ -0,0 +1,11 @@
> +--- a/extensions/GNUmakefile.in      2012-02-22 14:03:08.170063367 -0700
> ++++ b/extensions/GNUmakefile.in      2012-02-22 15:00:57.093967205 -0700
> +@@ -82,7 +82,7 @@
> + 
> + install: ${targets_install}
> +     @mkdir -p "${DESTDIR}${xtlibdir}";
> +-    if test -n "${targets_install}"; then install -pm0755 $^ 
> "${DESTDIR}${xtlibdir}/"; fi;
> ++    if test -n "$(strip ${targets_install})"; then install -pm0755 $^ 
> "${DESTDIR}${xtlibdir}/"; fi;
I think rather than papering over the bug, we should work on figuring
out why the targets_install variable is empty on your system.
On my system it builds properly with the current version without that
patch...

- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to