pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ocsigen Fixed www/ocsigenserver to build with ocam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/164d674941d4
branches:  trunk
changeset: 383530:164d674941d4
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Fri Aug 03 08:51:48 2018 +0000

description:
Fixed www/ocsigenserver to build with ocaml 4.07.

This comes from upstream Github issue 152, which has not yet been
released. I expect to be able to remove this with a new upstream release.

diffstat:

 www/ocsigen/Makefile                         |  8 ++++++--
 www/ocsigen/files/ocsigen_getcommandline.mli |  3 +++
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r f04cae8fd25e -r 164d674941d4 www/ocsigen/Makefile
--- a/www/ocsigen/Makefile      Fri Aug 03 06:43:41 2018 +0000
+++ b/www/ocsigen/Makefile      Fri Aug 03 08:51:48 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.31 2018/07/19 15:15:30 jaapb Exp $
+# $NetBSD: Makefile,v 1.32 2018/08/03 08:51:48 jaapb Exp $
 #
 
 VERSION=       2.9
 GITHUB_PROJECT=        ocsigenserver
 PKGNAME=       ocsigen-${VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
@@ -66,6 +66,10 @@
 CONFIGURE_ARGS+=               --disable-natdynlink
 .endif
 
+post-extract:
+       ${RUN} ${CP} ${FILESDIR}/ocsigen_getcommandline.mli ${WRKSRC}/src/baselib/commandline
+       ${RUN} ${CP} ${FILESDIR}/ocsigen_getcommandline.mli ${WRKSRC}/src/baselib/nocommandline
+
 .include "options.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../devel/ocaml-lwt_log/buildlink3.mk"
diff -r f04cae8fd25e -r 164d674941d4 www/ocsigen/files/ocsigen_getcommandline.mli
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ocsigen/files/ocsigen_getcommandline.mli      Fri Aug 03 08:51:48 2018 +0000
@@ -0,0 +1,3 @@
+(** Contains the command line that will be parsed by the server
+    when Ocsigen_commandline is linked *)
+val commandline : string array



Home | Main Index | Thread Index | Old Index