FS#47882 - [haxe] missing profile.d script

Attached to Project: Community Packages
Opened by Jean-Sébastien Lebarbier (jseb) - Sunday, 24 January 2016, 22:23 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 27 January 2016, 15:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: when haxe try to reach its stdlib, you get an error.

haxe stdlib directory has changed since last Archlinux package.
Before, it was in /opt/haxe/std
Now, it's in /usr/share/haxe/std

Before, there were a script in /etc/profile.d which set the path:
# grep -ri haxe_std /etc/* 2>&1 | sed '/Is a dir/d'
/etc/profile.d/haxe.csh:setenv HAXE_STD_PATH /opt/haxe/std:.
/etc/profile.d/haxe.sh:export HAXE_STD_PATH=/opt/haxe/std:.

Now, those sripts are missing and default values are used.
HAXE_STD_PATH is still using as default /opt/haxe/std


Additional info:
* package version(s):
community/haxe 3.2.1-3 (devel)

Steps to reproduce:
Compiling something, or just launching something using haxe stdlib.

For example:
~$ haxelib selfupdate
Haxelib was already up to date...
Error compiling haxelib client: Standard library not found

Workaround:
export HAXE_STD_PATH=/usr/share/haxe/std
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 27 January 2016, 15:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added /etc/profile.d/haxe.sh
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 January 2016, 15:14 GMT
Thanks for reporting! I will be adding /etc/profile.d/haxe.sh.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 27 January 2016, 15:20 GMT
The updated package will appear in [community] shortly.

Loading...