PNG marked broken?

An apparently broken png port is really putting the hurt on my ability to upgrade ports - looks like PNG is quite important.

Code:
png-1.5.11 is marked as broken: Please remove WITH_DEBUG for this port.

Any ideas what is wrong or how to fix?
 
You seem to have WITH_DEBUG set. Unset it and the port will build.
 
Ok, found that somehow
Code:
WITH_DEBUG=1
got put into /etc/make.conf. I've edited that to
Code:
WITH_DEBUG=0

I still get the same error.
 
No, don't put anything in /etc/make.conf. Delete the options for the port with this:

# make -C /usr/ports/graphics/png rmconfig

By the way, WITH_DEBUG set to 0 doesn't turn the option off, the proper way would be WITHOUT_DEBUG set to any non-empty value (even 0 counts as non-empty value) or by leaving out WITH_DEBUG alltogether.
 
Many make variables are checked for existence, not value. So that would not change the effect, it's still set. Comment that line instead.

(Doh! simulpost)
 
Just remove the line from /etc/make.conf. Setting it to a different value still leaves the variable defined.
 
That's done it guys - thanks; png now building.

I rarely touch make.conf - is it possible for another port to have added the debug switch to make.conf?
 
Back
Top