Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gettext: assorted minor but vital improvements #1099

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gsteemso
Copy link
Contributor

make keg-only state conditional on OS version; remove unused --with-examples option; use the Homebrew make routine instead of system "make"

make `keg-only` state conditional on OS version; remove unused `--with-examples` option; use the Homebrew `make` routine instead of `system "make"`
@@ -9,10 +9,11 @@ class Gettext < Formula
sha256 "c64bb31029e29599442653fe1e0f2216ae8fe144451a0541896f6e367df0018f" => :tiger_altivec
end

keg_only :shadowed_by_osx, "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
unless MacOS.version <= :leopard # what Mac OS version would be correct here?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, does Tiger not include gettext? I don't think I knew that!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiger does not include gettext, nor any fragment thereof. Neither does Leopard. I have no idea when it became a standard component, nor indeed whether it ever actually did.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I posted a bug report to that effect months ago.

"--without-xz"
system "make"
system "make", "check"
args = %W[
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind leaving the args and make sections alone in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I shall do so at my earliest convenience. Sorry for the mix-up about the purpose of the "make" convenience function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edits made. Is it possible to accept the revised PR against HEAD, or do I need to figure out some hocus-pocus to delete the sub-par first attempt that's currently in between them on this branch?

@gsteemso
Copy link
Contributor Author

gsteemso commented Mar 25, 2024 via email

@gsteemso
Copy link
Contributor Author

I wrote an experimental version of the formula for my own use, to upgrade the version and better enable :universal builds, and discovered that the without-tests option HAS to be left out because the gettext package itself no longer offers it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants