#21981 closed enhancement (invalid)
Unnecessary dependency for Groovy
Reported by: | sigzero@… | Owned by: | breskeby@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | Groovy |
Description
All of the Macs come with Java...there is no reason to have Kaffe as a dependency. If it is desired as a dependency please make it optional.
Change History (5)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | groovy removed |
---|---|
Milestone: | MacPorts 1.8.2 |
Owner: | changed from macports-tickets@… to breskeby@… |
Type: | request → enhancement |
comment:2 Changed 15 years ago by blb@…
comment:3 Changed 15 years ago by sigzero@…
robert -> port deps groovy Full Name: groovy @1.6.5 Build Dependencies: apache-ant Library Dependencies: kaffe Extract Dependencies: unzip [~] robert ->
The way I read that is...it is going to bring Kaffe in. It doesn't say "Optional Library Dependencies". So, no, I did not install it because I didn't want kaffe on my box.
However, if it does what you say it will do then this bug can be closed. I just need to learn how to read the code for the port.
comment:4 Changed 15 years ago by blb@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
Yeah, the output from deps and info could definitely be seen as confusing in these cases, though simplifying it could be messy as we would have to kick in the dependency checks just for those informational commands.
Also, FYI, if you use debug (port -d ...
), you should see
DEBUG: Searching for dependency: kaffe DEBUG: Didn't find receipt, going to depspec regex for: kaffe DEBUG: Found Dependency: path: /usr/bin filename: java regex: ^java$
which means /usr/bin/java makes it happy.
It is in fact optional:
This means that it first looks for a program java and if found, you're good; if not, then it will bring in kaffe. Did you actually try to install groovy and have it bring in the kaffe port?