Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 03:25:21 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/188356: devel/ocaml-lacaml: Update to version 7.0.13
Message-ID:  <20140408032521.6dd0c2b563363a29bf7903ca@yahoo.com>
Resent-Message-ID: <201404071840.s37Ie1Iu013901@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188356
>Category:       ports
>Synopsis:       devel/ocaml-lacaml: Update to version 7.0.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 7.0.13

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/ocaml-lacaml/Makefile devel/ocaml-lacaml/Makefile
--- /usr/ports/devel/ocaml-lacaml/Makefile	2014-03-11 06:37:42.000000000 +0900
+++ devel/ocaml-lacaml/Makefile	2014-04-08 00:00:00.000000000 +0900
@@ -2,8 +2,7 @@
 # $FreeBSD: head/devel/ocaml-lacaml/Makefile 347809 2014-03-10 20:55:20Z gerald $
 
 PORTNAME=	lacaml
-PORTVERSION=	7.0.7
-PORTREVISION=	2
+PORTVERSION=	7.0.13
 CATEGORIES=	devel
 MASTER_SITES=	http://cdn.bitbucket.org/mmottl/lacaml/downloads/
 PKGNAMEPREFIX=	ocaml-
@@ -13,24 +12,24 @@
 
 LICENSE=	LGPL21
 
-LIB_DEPENDS=	blas:${PORTSDIR}/math/blas \
-		lapack:${PORTSDIR}/math/lapack
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LIB_DEPENDS=	libblas.so:${PORTSDIR}/math/blas \
+		liblapack.so:${PORTSDIR}/math/lapack
 
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=yes
 USE_OCAMLFIND_PLIST=yes
 USE_OCAML_LDCONFIG=yes
 USE_OCAML_WASH=	yes
+OCAMLFIND_LDCONF=ignore
 
+USES=		fortran
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix ${PREFIX} --disable-docs --disable-examples \
 		--override conf_ccopt "${CFLAGS}" \
 		--override conf_cclib "${LDFLAGS:S,^.*[[:space:]],,}"
 MAKE_JOBS_UNSAFE=yes
 
-CFLAGS+=	-fPIC
+CFLAGS+=	-fPIC -DEXTERNAL_EXP10
 LDFLAGS+=	-L${LOCALBASE}/lib -lblas -llapack
 
 DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
@@ -39,27 +38,16 @@
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_DIRSTRY+=	${OCAML_DOCSDIR:S,^${PREFIX}/,,}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRSTRY+=	${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
-.endif
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in AUTHORS.txt CHANGES.txt README.md TODO.md
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
+		${STAGEDIR}${DOCSDIR})
 .endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/ocaml-lacaml/distinfo devel/ocaml-lacaml/distinfo
--- /usr/ports/devel/ocaml-lacaml/distinfo	2013-11-06 21:49:58.000000000 +0900
+++ devel/ocaml-lacaml/distinfo	2014-04-08 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (lacaml-7.0.7.tar.gz) = 9dc8bad78b4189330379313c230c8a6bf34cbba831329e92406cf2b1a2390462
-SIZE (lacaml-7.0.7.tar.gz) = 155345
+SHA256 (lacaml-7.0.13.tar.gz) = ccef3d0bd1b4607c9cffb84740200efbb9e6a85cff05a6c50e2c8d5176684fd9
+SIZE (lacaml-7.0.13.tar.gz) = 160403
diff -urN /usr/ports/devel/ocaml-lacaml/pkg-descr devel/ocaml-lacaml/pkg-descr
--- /usr/ports/devel/ocaml-lacaml/pkg-descr	2013-11-06 21:49:58.000000000 +0900
+++ devel/ocaml-lacaml/pkg-descr	2014-04-08 00:00:00.000000000 +0900
@@ -5,5 +5,5 @@
 This allows people to write high-performance numerical code for
 applications that need linear algebra.
 
-Author:	Markus Mottl <markus.mottl@gmail.com>
+Author: Markus Mottl <markus.mottl@gmail.com>
 WWW: https://bitbucket.org/mmottl/lacaml
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140408032521.6dd0c2b563363a29bf7903ca>