Updated lang/ocaml for non-opt architectures. Revbump
This commit is contained in:
parent
43198568c3
commit
263d0fd672
3 changed files with 504 additions and 500 deletions
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.122 2019/01/07 18:52:23 jaapb Exp $
|
||||
# $NetBSD: Makefile,v 1.123 2019/05/14 15:34:16 jaapb Exp $
|
||||
|
||||
.include "Makefile.common"
|
||||
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
|
||||
CONFIGURE_ENV+= disable_x11=yes
|
||||
|
||||
|
@ -35,7 +35,7 @@ PLIST.ocaml-stub= yes
|
|||
# Optional components built only on certain platforms.
|
||||
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
||||
!empty(MACHINE_ARCH:M*arm*) || (${MACHINE_ARCH} == "aarch64") || \
|
||||
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
||||
(${MACHINE_ARCH} == "x86_64")
|
||||
BUILD_TARGET+= opt opt.opt
|
||||
PLIST.ocaml-opt= yes
|
||||
. if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \
|
||||
|
|
986
lang/ocaml/PLIST
986
lang/ocaml/PLIST
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.49 2019/01/07 18:52:23 jaapb Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.50 2019/05/14 15:34:16 jaapb Exp $
|
||||
|
||||
BUILDLINK_TREE+= ocaml
|
||||
|
||||
|
@ -6,15 +6,19 @@ BUILDLINK_TREE+= ocaml
|
|||
OCAML_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=4.07.0
|
||||
BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.07.1nb1
|
||||
BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.07.1nb2
|
||||
BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
|
||||
#BUILDLINK_DEPMETHOD.ocaml?= build
|
||||
|
||||
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.ocaml}/lib/ocaml
|
||||
|
||||
.include "../../mk/ocaml.mk"
|
||||
|
||||
BUILDLINK_TARGETS+= ocaml-wrappers
|
||||
OCAML_WRAPPERS= ocamlc ocamlc.opt ocamlcp ocamlmklib ocamlmktop \
|
||||
ocamlopt ocamlopt.opt
|
||||
OCAML_WRAPPERS= ocamlc ocamlcp ocamlmklib ocamlmktop
|
||||
.if ${OCAML_USE_OPT_COMPILER} == "yes"
|
||||
OCAML_WRAPPERS+= ocamlc.opt ocamlopt ocamlopt.opt
|
||||
.endif
|
||||
OCAMLBIN_WRAPPERS= ocaml ocamldep ocamllex ocamlyacc
|
||||
|
||||
.PHONY: ocaml-wrappers
|
||||
|
|
Loading…
Reference in a new issue