Re: Update to cURL?
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
On 2023-11-22 06:11, Scott Hannahs via Fink-users wrote: > Dan, > > Thanks and your update is much more thorough than my minimal one. > However there is a weirdness, I think, in Xcode 15 and MacOS 13. The > Include files that the build copies are not in the same place. I > patched the setting of InclPREFIX to check for both locations. If the > new directory exists use it, else fall back to the older version. > > This shouldn’t change the functionality on 10.13 etc. But for > Xcode >= 15 it should also work. > > -Scott > > 79,83c69 > < if [ -d > "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" > ]; then > < > InclPREFIX="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" > < else > < > InclPREFIX="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include" > < fi > > --- >> > InclPREFIX="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include" > An if..then can be fragile. Apple has `xcrun` for tasks like this: -I`xcrun --sdk macosx --show-sdk-path`/usr/include" What does `xcrun --sdk macosx --show-sdk-path` output for you? And what's the output of `ls -l /Library/Developer/CommandLineTools/SDKs` ? All users should have the CommandLineTools because that's needed to build Fink. Hanspeter _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users