nettle for gnutls support in curl is always enabled because it is an unconditional dependency of security/gnutls.
Do not bump PORTREVISION because package-depends-list is unchanged.
lib/checksrc.pl is run when CURL_DEBUG is enabled.
The build failed due to the long line in patched lib/url.c.
./url.c:593:82: warning: Longer than 79 columns (LONGLINE)
data->set.no_signal = TRUE; /* different handling of signals and threads */
checksrc: 0 errors and 1 warnings
checksrc: 0 errors and 5 warnings suppressed
gmake[3]: *** [Makefile:3935: checksrc] Error 5
MFH: 2018Q1
- Add DICT, FTP, GOPHER, TELNET and TFTP options to OPTIONS_DEFAULT
- Add HTTP options to OPTIONS_DEFAULT
- Bump PORTREVISION for package change
DICT, FTP, GOPHER, TELNET and TFTP options are enabled by default through configure but not being added to OPTIONS_DEFAULT in r460440.
HTTP option is enabled by default through HTTP2 option.
cURL 7.55.1 use the threaded resolver (THREADED_RESOLVER) backend if c-ares
(CARES) is not available. That means you must enable either CARES or
THREADED_RESOLVER (default) option.
Reference: https://github.com/curl/curl/pull/1647
MFH: 2017Q3
bsd.default-versions.mk can rely on ARCH being defined.
- In bsd.port.mk move inclusion of bsd.default-versions.mk from the
pre-makefile section to the options section so the variables can be used
earlier. Also put the bit of code sitting between the options section and
the pre-makefile section into the options section.
- Remove last few cases where ports set WITH_OPENSSL_PORT. This variable is
handled in bsd.default-versions.mk and some ports were setting it after
including bsd.port.options.mk. After FreeBSD 9 EoL all but a few ports,
and then only when setting non-default options, work without setting that
variable.
PR: 215996
Exp-run by: antoine
Approved by: portmgr (antoine)
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
- RUN_DEPENDS: BUILD_DEPENDS is sufficient to block unqualified version.
- BUILD_DEPENDS: it's safe to remove BUILD_DEPENDS after nghttp2->libnghttp2 transition because initial version of libnghttp2 is 1.0.0+.
Pointed out by: adamw
- Remove BUILDING_HIPHOP check: curl-hiphop was removed in r425765
- Use = instead of += for MAINTAINER, COMMENT, CONFIGURE_ARGS and CONFIGURE_ENV
- Remove SLAVEDIRS
- Adjust line wrapping of DOCS