Re: how to limit to a certain directory only to look for includes
Greg Troxel <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
Jan Šmydke <[email protected]> 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. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
signature.asc
(application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (NetBSD) iEYEARECAAYFAkwRIO8ACgkQ+vesoDJhHiVx3QCdGgvwXs7IqzjsCD6v8+oCKFqz qGEAnj3jU39FMcCqpzEcMZdHt9Cwcvfx =Ffej -----END PGP SIGNATURE-----