Fix character encoding issues

Details:
- port now defaults to en_US.UTF-8 for LC_CTYPE
- Bump PORTREVISION

PR:		212993
Submitted by:	joshruehlig@gmail.com (maintainer)
MFH:		2016Q4
This commit is contained in:
Thomas Zander 2016-11-06 10:49:03 +00:00
parent 9597bd45ad
commit 84d1efa97a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425481
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= sabnzbdplus
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= SF
DISTNAME= SABnzbd-${PORTVERSION}-src

View File

@ -46,7 +46,7 @@ command_args="--daemon -f ${sabnzbd_conf_dir}/sabnzbd.ini --pidfile ${pidfile}"
sabnzbd_prestart()
{
PATH=${PATH}:%%PREFIX%%/bin:%%PREFIX%%/sbin
export LC_CTYPE="UTF-8"
export LC_CTYPE="en_US.UTF-8"
for sabdir in ${sabnzbd_conf_dir} ${pidfile%/*}; do
if [ ! -d "${sabdir}" ]; then
install -d -o ${sabnzbd_user} -g ${sabnzbd_group} ${sabdir}