svn commit: r376725 - head/devel/ocaml-lacaml

Thierry Thomas thierry at FreeBSD.org
Sat Jan 10 20:40:27 UTC 2015


Author: thierry
Date: Sat Jan 10 20:40:26 2015
New Revision: 376725
URL: https://svnweb.freebsd.org/changeset/ports/376725
QAT: https://qat.redports.org/buildarchive/r376725/

Log:
  Uses blaslapack.mk.

Modified:
  head/devel/ocaml-lacaml/Makefile

Modified: head/devel/ocaml-lacaml/Makefile
==============================================================================
--- head/devel/ocaml-lacaml/Makefile	Sat Jan 10 20:16:37 2015	(r376724)
+++ head/devel/ocaml-lacaml/Makefile	Sat Jan 10 20:40:26 2015	(r376725)
@@ -13,9 +13,6 @@ COMMENT=	OCaml interface to BLAS and LAP
 
 LICENSE=	LGPL21
 
-LIB_DEPENDS=	libblas.so:${PORTSDIR}/math/blas \
-		liblapack.so:${PORTSDIR}/math/lapack
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	mmottl
 GH_PROJECT=	${PORTNAME}
@@ -29,7 +26,7 @@ USE_OCAML_LDCONFIG=yes
 USE_OCAML_WASH=	yes
 OCAMLFIND_LDCONF=ignore
 
-USES=		fortran
+USES=		blaslapack fortran
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix ${PREFIX} --disable-docs --disable-examples \
 		--override conf_ccopt "${CFLAGS}" \
@@ -37,7 +34,7 @@ CONFIGURE_ARGS=	--prefix ${PREFIX} --dis
 MAKE_JOBS_UNSAFE=yes
 
 CFLAGS+=	-fPIC -DEXTERNAL_EXP10
-LDFLAGS+=	-L${LOCALBASE}/lib -lblas -llapack
+LDFLAGS+=	-L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB}
 
 DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 EXAMPLESDIR=	${OCAML_EXAMPLESDIR}/${PORTNAME}


More information about the svn-ports-all mailing list