pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re: fix build packages on Haiku



>Simple solution is:
>TOOLS_PLATFORM.ln?=             /bin/ln -s
>
>But it is better to create "ln" wrapper, try as-is or retry with "-s".
>--
>OBATA Akio / obata%lins.jp@localhost

Unfortunately it not always works well. For example devel/cmake/Makefile:

-${LN} -f ${WRKSRC}/Modules/Platform/OpenBSD.cmake ${WRKSRC}/Modules/Platform/MirBSD.cmake
+${LN} -sf ${WRKSRC}/Modules/Platform/OpenBSD.cmake ${WRKSRC}/Modules/Platform/MirBSD.cmake

WRKSRC is absolute path and is not the same for my build environment and real working circumstances.

ls -l /boot/new_pkg/share/cmake-2.8/Modules/Platform/MirBSD.cmake            
lrwxrwxrwx 1 baron root 73 2014-05-19 16:08 /boot/new_pkg/share/cmake-2.8/Modules/Platform/MirBSD.cmake -> /boot/work/devel/cmake/work/cmake-2.8.12.2/Modules/Platform/OpenBSD.cmake

-- 
Diger
-- 


Home | Main Index | Thread Index | Old Index