[Scratchbox-devel] Regarding 'sb-conf install -c'

Diane Holt holt.diane at gmail.com
Wed May 3 23:33:03 EEST 2006


Is there some technical reason why running it doesn't do anything for a
host-gcc target? I get that it doesn't actually need to, but is there some
reason it can't just go ahead and set up links anyway?  The reason I ask is
because one of the open-source components I'm building, ppp, has this in the
Makefile for pppd:

ifneq ($(wildcard /usr/include/crypt.h),)
CFLAGS   += -DHAVE_CRYPT_H=1
#endif
ifneq ($(wildcard /usr/lib/libcrypt.*),)
LIBS    += -lcrypt
#endif

I'll grant you that's not a terribly wonderful way for them to have done
that check -- nor did they provide any mechanism to allow you to simply say,
"Yes, I have that stuff" -- but, given that they did it the way they did,
and given that one of Scratchbox's intentions is to be able to build
open-source components without having to diddle them... :)

I can script around it, but if there's no real reason why the links couldn't
be set up, it might be worth considering doing.

Thanks,
Diane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-devel/attachments/20060503/f24eeabd/attachment.htm


More information about the Scratchbox-devel mailing list