Re: Update to cURL?
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 22, 2023, at 9:33 AM, [email protected] wrote: > > 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 Good to know. Can get rid of both if statements? % xcrun --sdk macosx --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk % -Scott _______________________________________________ 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