2008/9/22 Steven Mestdagh <[EMAIL PROTECTED]> > Arnaud Bergeron [2008-09-21, 18:42:02]: >> I am trying to build a port of gambit-c, a scheme compiler and interpreter. >> >> When I configure and build it manually I have not problems and the >> build goes fine. >> >> When I use the ports framework, the builds craps out with a error >> about an undefined function and symbol. I think it is the default >> config.site file somewhat providing wrong values. >> >> To test the hypothesis, I seek a way (even if such a way would never >> be accepted in a commited port) to disable processing of the default >> config.site. > > If config.site is wrong, then we should fix it. > > If you provide the port you are creating, people can help more easily. > For starters, please compare the config.log files, and see where it goes > wrong.
I just did this and produced this diff (also attached) for config.site: Index: config.site =================================================================== RCS file: /cvs/ports/infrastructure/db/config.site,v retrieving revision 1.13 diff -u -r1.13 config.site --- config.site 11 Nov 2006 15:01:19 -0000 1.13 +++ config.site 22 Sep 2008 16:23:00 -0000 @@ -398,7 +398,7 @@ ac_cv_func_open=${ac_cv_func_open=yes} ac_cv_func_opendir=${ac_cv_func_opendir=yes} ac_cv_func_openlog=${ac_cv_func_openlog=yes} -ac_cv_func_openpty=${ac_cv_func_openpty=no} +ac_cv_func_openpty=${ac_cv_func_openpty=yes} ac_cv_func_pathconf=${ac_cv_func_pathconf=yes} ac_cv_func_pause=${ac_cv_func_pause=yes} ac_cv_func_pclose=${ac_cv_func_pclose=yes} With this gambit builds correctly. I also checked with the manpages and we have openpty(3) so I don't know why it was set to no. Arnaud