5f9bd44f70
- 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.
27 lines
660 B
Makefile
27 lines
660 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2004/04/24 14:45:15 danw Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
OCAML_BUILDLINK3_MK:= ${OCAML_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= ocaml
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml}
|
|
BUILDLINK_PACKAGES+= ocaml
|
|
BUILDLINK_DEPMETHOD.ocaml?= build
|
|
|
|
.if !empty(OCAML_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.ocaml+= ocaml>=3.06nb6
|
|
BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
|
|
|
|
. include "../../mk/bsd.prefs.mk"
|
|
. if ${OPSYS} == "Darwin"
|
|
INSTALL_UNSTRIPPED= yes
|
|
. endif
|
|
|
|
.endif # OCAML_BUILDLINK3_MK
|
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|