tech-pkg archive

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

Re: lang/gcc12 on mac



* On 2024年06月23日 at 13:21 BST, Jason Bacon wrote:
+.if !defined(CLTOOLS_VERSION)
+CLTOOLS_VERSION!= pkgutil
--pkg-info=com.apple.pkg.CLTools_Executables | awk '$1ドル == "version:" {
print 2ドル }'
+.endif
This isn't accurate, on my host it returns the same as you, but I do not use this, I use Xcode installed under /Applications which is a completely different version. I would do it based on CC_VERSION, which needs some work for clang. Ideally I'd like to see it be the same as OPSYS_VERSION where we can perform numeric comparisons rather than string matching.
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /