mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
d82c0f7682cdb0172067f33f7838bc919938c3b8
CURL_CFLAGS (from curl-config --cflags) was applied globally to all compiled files. When --with-curlprefix=/opt/local is used, this adds -I/opt/local/include to every compilation, causing readline.c to pick up MacPorts' GNU readline headers instead of the system headers that configure probed against. This mismatch produces a build failure due to differing readline symbol names (e.g. rl_username_completion_function vs username_completion_function). Fix by scoping CURL_CFLAGS, MD5_CFLAGS, and READLINE_CFLAGS to the object files that actually need them, so each file only sees the include paths appropriate to its own dependencies. Fixes: https://trac.macports.org/ticket/57160
macports-base
This repository contains the source code for the MacPorts command-line client.
Official documentation: https://guide.macports.org/
Description
Languages
Tcl
51.7%
C
33.7%
Assembly
9.6%
M4
2.7%
Shell
1.2%
Other
1.1%