Merge pull request #37781 from magnetophon/helmholtz

helmholtz: fix failing build
This commit is contained in:
Franz Pletz 2018-03-28 06:40:55 +00:00 committed by GitHub
commit f4e32ecb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,16 @@ stdenv.mkDerivation rec {
mv helmholtz~/src/Makefile . mv helmholtz~/src/Makefile .
rm -rf helmholtz~/src/ rm -rf helmholtz~/src/
rm helmholtz~/helmholtz~.pd_darwin rm helmholtz~/helmholtz~.pd_darwin
rm helmholtz~/helmholtz~.pd_linux
rm helmholtz~/helmholtz~.dll rm helmholtz~/helmholtz~.dll
rm -rf __MACOSX rm -rf __MACOSX
''; '';
patchPhase = '' patchPhase = ''
mkdir -p $out/helmholtz~
sed -i "s@current: pd_darwin@current: pd_linux@g" Makefile sed -i "s@current: pd_darwin@current: pd_linux@g" Makefile
sed -i "s@-Wl@@g" Makefile sed -i "s@-Wl@@g" Makefile
sed -i "s@\$(NAME).pd_linux \.\./\$(NAME).pd_linux@helmholtz~.pd_linux $out/helmholtz~/@g" Makefile
''; '';
installPhase = '' installPhase = ''