pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: broken hardlink on Haiku
On Thu, 22 May 2014 11:59:45 +0900, diger <admin%freenet59.ru@localhost> wrote:
Filesystem of Haiku(BFS) don't support hardlinks. Many packages and
patches contain hardlinks.
For example archivers/bzip2/Makefile:
...
${LN} -f ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bunzip2
${LN} -f ${DESTDIR}${PREFIX}/bin/bzip2 ${DESTDIR}${PREFIX}/bin/bzcat
...
lang/gcc4*/Makefile
...
${LN} -f ${DESTDIR}${GCC_PREFIX}/bin/gcc ${DESTDIR}${GCC_PREFIX}/bin/cc)
...
lang/ruby*-base/Makefile
...
cd ${WRKSRC}/bin; for f in *; do ${LN} -f $$f $${f}${RUBY_SUFFIX};
...
devel/cmake/Makefile and more ...
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
Home |
Main Index |
Thread Index |
Old Index