pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

How to restrict dependency to an older version?

Hello all,

in a futile attempt to update CouchDB from 2.0.0 to 2.1.0 I stumbled
upon the issue that CouchDB only works up to Erlang v19.3

I tried to restrict the version using:

BUILD_DEPENDS+=        erlang>=17<20:../../lang/erlang


BUILDLINK_DEPMETHOD.erlang=     build
BUILDLINK_API_DEPENDS.erlang+=  erlang<20
BUILDLINK_ABI_DEPENDS.erlang+=  erlang<20
.include "../../lang/erlang/"

However, in both cases when running bmake it always picks the current
version which is 20.1

How can restrict the versions of Erlang?

Regards, Alexander

Home | Main Index | Thread Index | Old Index