aboutsummaryrefslogtreecommitdiff
path: root/devel/monotone-viz
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-12-15 15:31:42 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-12-15 15:31:42 +0000
commit262eaa56152781797eb7f12d07825eb7f2f82a37 (patch)
tree8e9b813a1410d36ea732f5d4990ec31e33621366 /devel/monotone-viz
parentd67db6dec62032db0f6a252b9dcda935a8086583 (diff)
downloadports-262eaa56152781797eb7f12d07825eb7f2f82a37.tar.gz
ports-262eaa56152781797eb7f12d07825eb7f2f82a37.zip
Un-break by depending on the ports lablgtk version insteald of bundled one.
PR: ports/152740 Submitted by: Lapo Luchini <lapo@lapo.it> (maintainer)
Notes
Notes: svn path=/head/; revision=266350
Diffstat (limited to 'devel/monotone-viz')
-rw-r--r--devel/monotone-viz/Makefile14
-rw-r--r--devel/monotone-viz/files/patch-Makefile11
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