mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Un-break by depending on the ports lablgtk version insteald of bundled one.
PR: ports/152740 Submitted by: Lapo Luchini <lapo@lapo.it> (maintainer)
This commit is contained in:
parent
d67db6dec6
commit
262eaa5615
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266350
@ -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
|
||||
|
11
devel/monotone-viz/files/patch-Makefile
Normal file
11
devel/monotone-viz/files/patch-Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user