pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-lwt ocaml-lwt: SunOS needs -D_POSIX_PTHREA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b58730fca32a
branches:  trunk
changeset: 383313:b58730fca32a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jul 27 08:01:30 2018 +0000

description:
ocaml-lwt: SunOS needs -D_POSIX_PTHREAD_SEMANTICS.

diffstat:

 devel/ocaml-lwt/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3b9152a55826 -r b58730fca32a devel/ocaml-lwt/Makefile
--- a/devel/ocaml-lwt/Makefile  Fri Jul 27 07:51:30 2018 +0000
+++ b/devel/ocaml-lwt/Makefile  Fri Jul 27 08:01:30 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2018/04/13 12:52:00 jaapb Exp $
+# $NetBSD: Makefile,v 1.37 2018/07/27 08:01:30 jperkin Exp $
 #
 
 .include "Makefile.common"
@@ -18,6 +18,8 @@
 
 OCAML_USE_JBUILDER=    yes
 
+CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+
 do-configure:
        cd ${WRKSRC} && ocaml src/util/configure.ml ${CONFIGURE_ARGS}
 



Home | Main Index | Thread Index | Old Index