On 04/06/11 11:42, Christoph Egger wrote:
On 04/06/11 11:42, OBATA Akio wrote:Again, why is it required? ocaml-findlib have no contents to buildlink. I feel buildlinking is no gain, just slow down building. Why not just adding following to xentools41/Makefile, like other packages using ocaml-findlib? DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlibI just tried both suggestens from wiz@ and from your. wiz@ suggestion is to try BUILD_DEPENDS instead of DEPENDS. BUILD_DEPENDS adds both ocaml-findlib and ocaml as a build dependency. DEPENDS adds ocaml-findlib as a full dependency and ocaml as build dependency. I need ocaml-findlib as build dependency and ocaml as runtime dependency.
I got confused about ocaml somehow. It is a compiler and not an interpreter hence having both ocaml-findlib and ocaml as build dependency is the right way.
Just fixed it as discussed with wiz@. Christoph
On Wed, 06 Apr 2011 17:44:24 +0900, Christoph Egger <cegger%netbsd.org@localhost> wrote:Module Name: pkgsrc Committed By: cegger Date: Wed Apr 6 08:44:24 UTC 2011 Added Files: pkgsrc/devel/ocaml-findlib: buildlink3.mk Log Message: add buildlink3. Needed for xentools41. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-findlib/buildlink3.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.