Tim Kientzle <kient...@freebsd.org> writes:

[...]
> The -L handling here looks correct, though.  Remember
> that -L means "follow symlinks", which means that foo/baz
> should get created in the target as a directory and not as
> a symlink, which is exactly what you've shown.
>
> If you want blah/foo/baz to be a symlink, you want to omit
> the -L option.

OK, GNU cpio works as you say. I was just confused about bsd.gecko.mk

   cd ${FAKEDIR}/${dir} && ${FIND} . | \
           ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${dir}

that creates empty directories, e.g.

  PREFIX/lib/firefox3/bin
  PREFIX/lib/firefox3/idl
  PREFIX/lib/firefox3/include
  PREFIX/lib/firefox3/lib

rather than copying contents.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to