[Bug 215792] Comma as a decimal point prevents building port 'www/nuvolaplayer-8tracks'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 5 09:17:51 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215792
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 at FreeBSD.org
Reporter: mishin at 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=$($CONVERT --debug render "${source_file}" -o
/dev/null | awk '/width/ { print $3 }')
zoom_factor=$(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=$(divide ${dest_size} ${source_size})
As a solution, I used: LC_NUMERIC=C make
But why not change the language temporarily in a './svg-convert.sh' or a
Makefile directly?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list