pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ocsigen



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Fri Aug  3 08:51:48 UTC 2018

Modified Files:
        pkgsrc/www/ocsigen: Makefile
Added Files:
        pkgsrc/www/ocsigen/files: ocsigen_getcommandline.mli

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/ocsigen/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ocsigen/files/ocsigen_getcommandline.mli

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ocsigen/Makefile
diff -u pkgsrc/www/ocsigen/Makefile:1.31 pkgsrc/www/ocsigen/Makefile:1.32
--- pkgsrc/www/ocsigen/Makefile:1.31    Thu Jul 19 15:15:30 2018
+++ pkgsrc/www/ocsigen/Makefile Fri Aug  3 08:51:48 2018
@@ -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 @@ BUILDLINK_API_DEPENDS.ocaml+=   ocaml>=3
 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"

Added files:

Index: pkgsrc/www/ocsigen/files/ocsigen_getcommandline.mli
diff -u /dev/null pkgsrc/www/ocsigen/files/ocsigen_getcommandline.mli:1.1
--- /dev/null   Fri Aug  3 08:51:48 2018
+++ pkgsrc/www/ocsigen/files/ocsigen_getcommandline.mli Fri Aug  3 08:51:48 2018
@@ -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