pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/converters/php-iconv



* On 2024-10-03 at 13:30 BST, Adam Ciarcinski wrote:

# Hack: allow building on Darwin without Command Line Tools.
+.  if ${OPSYS} == "Darwin" && !exists(/usr/include/iconv.h)
CONFIGURE_ARGS+=        --with-iconv=shared,${OSX_SDK_PATH:Q}/${BUILDLINK_PREFIX.iconv}

I don't understand this change.  The whole section is wrapped in
"${USE_BUILTIN.iconv:U:tl} == no", so now even though I'm using libiconv from pkgsrc, it's going to hardcode iconv to use some non-existent path, in my case:

  /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk//opt/pkg

which is almost certainly going to fail.

It would really help to have some decent comments explaining what the actual problem is here and what we are actually trying to fix, because these commits just appear to be breaking things and I don't understand why.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com



Home | Main Index | Thread Index | Old Index