Date: Thu, 05 Jan 2017 09:17:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215792] Comma as a decimal point prevents building port 'www/nuvolaplayer-8tracks' Message-ID: <bug-215792-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215792 Bug ID: 215792 Summary: Comma as a decimal point prevents building port 'www/nuvolaplayer-8tracks' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mishin@mh.san.ru Port: www/nuvolaplayer-8tracks. It builds 'textproc/lasem' ss dependensies and uses 'lasem-render' for converting icons. A converting script './svg-convert.sh' contains the following block: case $CONVERT in lasem-render*) source_size=3D$($CONVERT --debug render "${source_file}" -o /dev/null | awk '/width/ { print $3 }') zoom_factor=3D$(divide ${dest_size} ${source_size}) echo $CONVERT -z ${zoom_factor} "${source_file}" -o "${dest_file}" $CONVERT -z ${zoom_factor} "${source_file}" -o "${dest_file= }" ;; In case a russian locale (I belive that there are other) a decimal point is= a comma (not a dot) and following variable gets a value in unacceptable format (with comma as a floating point): zoom_factor=3D$(divide ${dest_size} ${source_size}) As a solution, I used: LC_NUMERIC=3DC make But why not change the language temporarily in a './svg-convert.sh' or a Makefile directly? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215792-13>