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/dfb1eea28af0
branches:  trunk
changeset: 310938:dfb1eea28af0
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 93c81fca4581 -r dfb1eea28af0 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