diff options
author | tron <tron@pkgsrc.org> | 2004-04-22 09:20:31 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-04-22 09:20:31 +0000 |
commit | 26d44a01710062af8d7b705baf2c0aaf5c9badca (patch) | |
tree | 4866c9e7eb25934a1b34d37ca6fe4610e65a08b6 /x11/lablgtk | |
parent | 65fe8e9b9468384d090cd74dd026c2c191eb3f3a (diff) | |
download | pkgsrc-26d44a01710062af8d7b705baf2c0aaf5c9badca.tar.gz |
Fix some issues:
- add a full dependence on the "ocaml" package because this packages shares
its directory structure
- remove support for handling "ocaml" package without threading support,
because it is no longer necessary
Bump package revision because of these changes.
Diffstat (limited to 'x11/lablgtk')
-rw-r--r-- | x11/lablgtk/Makefile | 11 | ||||
-rw-r--r-- | x11/lablgtk/PLIST | 6 |
2 files changed, 7 insertions, 10 deletions
diff --git a/x11/lablgtk/Makefile b/x11/lablgtk/Makefile index d40cdc4d9ea..d2be6749bad 100644 --- a/x11/lablgtk/Makefile +++ b/x11/lablgtk/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2004/03/04 16:13:35 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2004/04/22 09:20:31 tron Exp $ DISTNAME= lablgtk-1.2.6 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ @@ -11,6 +12,8 @@ COMMENT= GTK+ bindings for ocaml USE_BUILDLINK3= YES USE_GNU_TOOLS+= make +BUILDLINK_DEPMETHOD.ocaml= full + .include "../../mk/bsd.prefs.mk" # currently ocamlopt is only available on i386 @@ -22,12 +25,6 @@ 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} diff --git a/x11/lablgtk/PLIST b/x11/lablgtk/PLIST index 64fd5c55ced..bf286ec0dce 100644 --- a/x11/lablgtk/PLIST +++ b/x11/lablgtk/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2003/06/24 14:09:53 tron Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/04/22 09:20:31 tron Exp $ bin/lablgtk lib/ocaml/lablgtk/gBin.cmi lib/ocaml/lablgtk/gBin.cmx @@ -149,10 +149,10 @@ lib/ocaml/lablgtk/gtkThInit.cmo lib/ocaml/lablgtk/gtkThInit.ml lib/ocaml/lablgtk/gtkThread.cmi lib/ocaml/lablgtk/gtkThread.cmo -${NATIVE_THREADS}lib/ocaml/lablgtk/gtkThread.cmx +lib/ocaml/lablgtk/gtkThread.cmx lib/ocaml/lablgtk/gtkThread.ml lib/ocaml/lablgtk/gtkThread.mli -${NATIVE_THREADS}lib/ocaml/lablgtk/gtkThread.o +lib/ocaml/lablgtk/gtkThread.o lib/ocaml/lablgtk/gtkTree.cmi lib/ocaml/lablgtk/gtkTree.cmx lib/ocaml/lablgtk/gtkTree.ml |