Le 18/02/2014 09:45, Yousong Zhou a écrit :
> On Tue, Feb 18, 2014 at 08:03:06AM +0100, Michel Stempin wrote:
>> Signed-off-by: Michel Stempin <michel.stem...@wanadoo.fr>
>> ---
>>  ipv6/gw6c/patches/001-sed-separator.patch |   18 ++++++++++++++++++
>>  1 file changed, 18 insertions(+)
>>  create mode 100644 ipv6/gw6c/patches/001-sed-separator.patch
>>
>> diff --git a/ipv6/gw6c/patches/001-sed-separator.patch 
>> b/ipv6/gw6c/patches/001-sed-separator.patch
>> new file mode 100644
>> index 0000000..8d4c4bd
>> --- /dev/null
>> +++ b/ipv6/gw6c/patches/001-sed-separator.patch
>> @@ -0,0 +1,18 @@
>> +--- a/tspc-advanced/conf/Makefile
>> ++++ b/tspc-advanced/conf/Makefile
>> +@@ -21,12 +21,12 @@
>> +    fi
>> +    @if [ -z "$(configdir)" ]; then \
>> +     if [ -z "$(installdir)" ]; then \
>> +-      sed -e "s+@ifname_v4v6@+$(ifname_v4v6)+" -e 
>> "s+@ifname_tun@+$(ifname_tun)+" -e "s+@ifname@+$(ifname)+" -e 
>> "s+@conf_template@+$(conf_template)+" -e "s+@conf_gw6_dir@+`cd ..;pwd`+"  
>> gw6c.conf.in>$(BIN)/gw6c.conf.sample; \
>> ++      sed -e "s|@ifname_v4v6@|$(ifname_v4v6)|" -e 
>> "s|@ifname_tun@|$(ifname_tun)|" -e "s|@ifname@|$(ifname)|" -e 
>> "s|@conf_template@|$(conf_template)|" -e "s|@conf_gw6_dir@|`cd ..;pwd`|"  
>> gw6c.conf.in>$(BIN)/gw6c.conf.sample; \
> 
> Hi, just curious, what's wrong with using '+' as separators here. I
> compiled gw6c for ar71xx fine without this patch.

On my ramips RT5350 HAME-MPR1 target, my build directory is: 
"build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2", thus the problem.

Michel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to