ftp/curl sets ./configure knobs based on the options passed to the port, and the port was changed to options-NG, which means it no longer uses the knobs in the base system as defaults. Some knobs really should have sane defaults based on the base system knobs, in particular: NOPORTDOCS -> ${MK_DOCS} != "no" NOPORTEXAMPLES -> ${MK_EXAMPLES} != "no" GSSAPI -> ${MK_GSSAPI} != "no" IPV6 -> ${MK_INET6} != "no" etc.
Responsible Changed From-To: freebsd-ports-bugs->sunpoet Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: sunpoet->portmgr options framework is portmgr territory.
Infrastructure PR.
I completly disagree here, the ports cannot have a knowledge of what options has been passed when building the base system, ports are being built on a system which can have been built somewhere else. live detection of what is or is not present on the base system might be interesting in particular concerning ipv6 or friends, if done this is supposed to work in chroot and jails as well!
Created attachment 155762 [details] svn diff for ftp/curl This patch fixes the WITHOUT_GSSAPI builds. Additionally makes the port correctly conflict ports' OpenSSL with base GSSAPI. Reorder checks alphabetically
Created attachment 155768 [details] svn diff for ftp/curl Improved pervious patch curl would still link kerberos when both --with-gssapi= and --without-gssapi were passed to configure. This works in the various configurations I've tested.
The documentation is quite confusing for gssapi, 1. Porter's Handbook specifies GSSAPI_NONE 2. bsd.options.desc.mk contains GSSAPI= GSSAPI Security API support marking it as a "standard" option 3. Uses/gssapi.mk also specifies GSSAPI_NONE but fails to mention how to handle WITHOUT_GSSAPI/OPTIONS_UNSET+=GSSAPI
(In reply to Bernard Spil from comment #6) For a better OPENSSL vs. GSSAPI_BASE sanity check, see <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200555>
Is this still relevant?
This can probably be closed since the port can now has GSSAPI_HEIMDAL, GSSAPI_MIT, and GSSAPI_NONE options so that it can build if GSSAPI is disabled in base.