pkgsrc/lang/ocaml/buildlink2.mk
danw 5f9bd44f70 Two Darwin fixes:
- split out the profiled libraries in the PLIST, because they
	  don't get built on Darwin.
	- set INSTALL_UNSTRIPPED on Darwin for both ocaml itself and
	  anything that directly depends on it, because the ocaml compiler
	  generates binaries that don't strip properly.
2004-04-24 14:45:15 +00:00

33 lines
921 B
Makefile

# $NetBSD: buildlink2.mk,v 1.4 2004/04/24 14:45:15 danw Exp $
#
# This Makefile fragment is included by packages that use ocaml.
.if !defined(OCAML_BUILDLINK2_MK)
OCAML_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= ocaml
BUILDLINK_DEPENDS.ocaml?= ocaml>=3.06nb6
BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
BUILDLINK_DEPMETHOD.ocaml?= build
EVAL_PREFIX+= BUILDLINK_PREFIX.ocaml=ocaml
BUILDLINK_PREFIX.ocaml_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.ocaml+= lib/ocaml/*.*
BUILDLINK_FILES.ocaml+= lib/ocaml/caml/*
BUILDLINK_FILES.ocaml+= lib/ocaml/camlp4/*
BUILDLINK_FILES.ocaml+= lib/ocaml/labltk/*
BUILDLINK_FILES.ocaml+= lib/ocaml/ocamldoc/*
BUILDLINK_FILES.ocaml+= lib/ocaml/threads/*
BUILDLINK_TARGETS+= ocaml-buildlink
ocaml-buildlink: _BUILDLINK_USE
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= yes
.endif
.include "../../x11/tk/buildlink3.mk"
.endif # OCAML_BUILDLINK2_MK