tech-pkg archive

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

Re: adding a minimum ocaml compiler requirement to unison: how?



Hi,

On Tue, 02 Aug 2011 18:41:50 +0900, Ignatios Souvatzis 
<is%netbsd.org@localhost> wrote:

I tried

DEPENDS+=ocaml>=3.12.0nb2:../../lang/ocaml

BUILD_DEPENDS should be set instead.

I tried

BUILDLINK_ABI_DEPENDS.ocaml+=   ocaml>=3.12.0nb2

and even using BUILDLINK_API_DEPENDS.ocaml.

BUILDLINK_API_DEPENDS.ocaml should be used (and it is already in 
net/unison/Makefile).

Whatever I do, make always results in

=> Build dependency ocaml>=3.09.1nb2: found ocaml-3.12.0nb2

That is, in a tree with a compiler that's too old it would nevertheless
build.

So, what should I do?

Did you "make clean" after your change (or remove ${WRKDIR}/.depends{_done})?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index