-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
gnutls: build with unbound/dane support #37005
Conversation
Formula/gnutls.rb
Outdated
@@ -31,7 +32,8 @@ def install | |||
--disable-heartbeat-support | |||
--with-p11-kit | |||
] | |||
|
|||
ENV["CFLAGS"] = "-I/usr/local/Cellar/unbound/1.9.0/include" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure these are needed ? pkg-config
and homebrew ought to figure this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking at it. Yes you are correct and I knew about this feature it just wasn't working.
Maybe I got it mixed up.
I added an update that removes the flags and makes the unbound dependency optional.
EDIT: I see "optional" is frowned upon according to the cookbook. So what is preferred, making it recommended or just a regular depenency? Now I get:
when I check it with brew audit. Why? |
@schanzen options are no longer allowed so if you want it in it needs to be made the default. |
Removed the optional. Thanks for the guidance. |
@BrewTestBot test this please |
@BrewTestBot test this please |
Thanks @schanzen for putting this together and welcome to the Homebrew community! Without people like you it wouldn't flourish and continue to grow and live as it does. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?I know that the changes are suboptimal, especially the manual changes of CFLAGS/LDFLAGS for unbound.
gnutls does not support supplying the unbound prefix so I am not sure how to solve it.
Also, it would probably be better to make this optional?
Pointers would be helpful.