bitcoin/bitcoin — comment on commit 4adf78bad32f016196bdcc8d6edfc9d9796b04ef
File: doc/build-unix.txt line 74
By globalcitizen:

Let me see if I understood you. First, you are suggesting that:
USE_UPNP:=0

Should become:
USE_UPNP:=0
USE_UPNP:=

Instead of:
USE_UPNP:=

If I understood you right, I don't think that really makes any difference.

Secondly, updating the docs to tell someone to sed the makefile is quicker than explaining in human language that they need to change a certain line a certain way. As they stand, the sed lines are both a clear explanation and a copy-pastable script for executing the required changes. In my case, I had to trawl the internet to figure out that changing -Bstatic to -Bdynamic was probably necessary in my case.

Finally, the reason for the UPnP change is that I was unable to figure out how to get bitcoind to build against gentoo's miniupnpc library at all. So I just threw it in there. In my case, I don't care about UPnP anyway. I'm sure that in due course someone will provide a fix. But the first step is helping people to build, and in my view having *some* documentation that is relevant to people's environment is a lot better than having *none*.