diff --git a/devel/ocaml-parmap/Makefile b/devel/ocaml-parmap/Makefile index 0352d6cc8801..23b665773921 100644 --- a/devel/ocaml-parmap/Makefile +++ b/devel/ocaml-parmap/Makefile @@ -1,30 +1,36 @@ PORTNAME= parmap DISTVERSION= 1.2.4 PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= dumbbell@FreeBSD.org COMMENT= Minimalistic library allowing to exploit multicore architecture WWW= https://github.com/rdicosmo/parmap LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= dune:devel/ocaml-dune USE_GITHUB= yes GH_ACCOUNT= rdicosmo USES= gmake ocaml:findlib,ldconfig TARGETS= ${PORTNAME} +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + do-build: cd ${BUILD_WRKSRC} && dune build --verbose -p ${TARGETS:ts,} -j ${MAKE_JOBS_NUMBER} do-install: cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ --libdir=${PREFIX}/${OCAML_SITELIBDIR} ${TARGETS} .include