summaryrefslogtreecommitdiff
path: root/x11/lablgtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lablgtk/Makefile')
-rw-r--r--x11/lablgtk/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11/lablgtk/Makefile b/x11/lablgtk/Makefile
index 0ad96c9240a..2a2d4d7ddcf 100644
--- a/x11/lablgtk/Makefile
+++ b/x11/lablgtk/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/05/02 11:57:27 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.6 2003/06/24 14:09:53 tron Exp $
DISTNAME= lablgtk-1.2.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
@@ -24,6 +23,12 @@ MAKE_ENV+= CAMLOPT=${CAMLOPT}
PLIST_SRC= ${PKGDIR}/PLIST.noopt
.endif
+.if exists(${LOCALBASE}/lib/ocaml/libthreadsnat.a)
+PLIST_SUBST+= NATIVE_THREADS=
+.else
+PLIST_SUBST+= NATIVE_THREADS="@comment "
+.endif
+
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
configure USE_DOTOPT=${USE_DOTOPT} USE_CC=1 CC=${CC}