On Thu, 16 Oct 2008 05:17:47 -0000, Desmond Chapman
wrote:

>
> It's dependent upon kbuild. Since the developers have no intention of
> fixing the issue, I would like a tutorial on converting the kmk file to
> a normal Makefile.


I think you are barking at the wrong tree. :-) I don't think the issue is
in kBuild. It looks like an issue is in devel/kbuild/Makefile in the
do-install target part.

http://pointyhat.freebsd.org/errorlo...uild-0.1.3.log

----------------------------------------
(cd ${WRKSRC}/out/freebsd.${MACHINE_ARCH}/release${PREFIX}/bin &&
${COPYTREE_BIN} \* ${PREFIX}/bin)
----------------------------------------

----------------------------------------
# make -V COPYTREE_BIN
/bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null
2>&1) && /usr/sbin/chown -R root:wheel $1 && /usr/bin/find $1 -type d
-exec chmod 755 {} \; && /usr/bin/find $1 -type f -exec chmod 555 {} \;'
--
----------------------------------------

So.. See that $1, it is ${PREFIX}/bin. It's a bug. The COPYTREE_BIN can't
have ${PREFIX}/bin. I suggest you to not use COPYTREE_BIN, so do the
different method should solve kbuild ports problem. I personal haven't use
COPYTREE_* before, so possible misuse COPYTREE_BIN or just can't have
${PREFIX}/bin (uncheck in bsd.port.mk/document).

BTW: Add CC'ing to freebsd-ports@ to make its search useful.

Cheers,
Mezz


--
mezz7@cox.net - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"