pkgsrc-Users archive

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

Re: Re: fix build packages on Haiku



Hi,

--On 2014/05/22 14:04 +0600 diger <admin%freenet59.ru@localhost> wrote:


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

Yes sure! It's a simple workaround solution.
For this case,
+cd ${WRKSRC}/Modules/Platform && ${LN} -f OpenBSD.cmake MirBSD.cmake
--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index