diff options
Diffstat (limited to 'devel/monotone-viz')
-rw-r--r-- | devel/monotone-viz/Makefile | 14 | ||||
-rw-r--r-- | devel/monotone-viz/files/patch-Makefile | 11 |
2 files changed, 16 insertions, 9 deletions
diff --git a/devel/monotone-viz/Makefile b/devel/monotone-viz/Makefile index 8fb470dd5e62..1e96ee9bbc5b 100644 --- a/devel/monotone-viz/Makefile +++ b/devel/monotone-viz/Makefile @@ -7,29 +7,25 @@ PORTNAME= monotone-viz PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://oandrieu.nerim.net/monotone-viz/ MAINTAINER= lapo@lapo.it COMMENT= Visual interface for Monotone VCS with revision graphs -# BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 +BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \ - mtn:${PORTSDIR}/devel/monotone -# lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 + mtn:${PORTSDIR}/devel/monotone \ + lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= Doesn't build with Glib-2.26 - USE_GMAKE= yes USE_OCAML= yes GNU_CONFIGURE= yes -# following line can (and should) be used only after ports/149958 is closed -#CONFIGURE_ARGS+= --without-local-lablgtk -# Remove USE_GNOME and enable dependency on lablgtk2 when ports/149958 is fixed -USE_GNOME= gtk20 libgnomecanvas +CONFIGURE_ARGS+= --without-local-lablgtk ALL_TARGET= MAKE_JOBS_UNSAFE= yes diff --git a/devel/monotone-viz/files/patch-Makefile b/devel/monotone-viz/files/patch-Makefile new file mode 100644 index 000000000000..c52c65c59a55 --- /dev/null +++ b/devel/monotone-viz/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2009-12-08 00:43:26.000000000 +0100 ++++ Makefile 2010-12-01 12:44:12.000000000 +0100 +@@ -105,7 +105,7 @@ PP = $(if $(findstring $(1),$(USE_P4)),- + cd $(<D) ; $(OCAMLC) $(CINCDIRS) $(if $(CPPFLAGS),-ccopt "$(CPPFLAGS)") $(<F) + + %.c %.h : %.var +- cd $(<D) ; $(LABLGTK_DIR)/varcc -static $(<F) ++ cd $(<D) ; ${LOCALBASE}/bin/ocamlrun $(LABLGTK_DIR)/varcc -static $(<F) + + clean : + rm -f *.a *.so *.o *.cm* monotone-viz |