pkgsrc-WIP-discuss archive

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

Re: how to limit to a certain directory only to look for includes



Jan Åmydke <jan.smydke%jh-inst.cas.cz@localhost> writes:

> is there any possibility to tell pkgsrc to look to a specific directory
> for includes while building a package?
>
> When I build an app by myself, I tell configure to use
> just "-I/something" and it works nice.
>
> But when trying to port it for pkgsrc-wip, configure looks also to other
> places like /usr/include which leads to name clashes and the build
> fails...
>
> I tried CONFIGURE_ARGS, but it did not help.
>
> Thanks a lot for any clue,

Are you saying that the program has

#include <foo.h>

but that you don't want it to include /usr/include/foo.h ?  That sounds
wrong.

There is --nostdinc or something like that, but I don't know if C99
mandates it.

Attachment: pgpFvndvZUiLP.pgp
Description: PGP signature

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index