diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-09-01 16:27:21 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-09-01 16:27:21 +0000 |
commit | 12ffbba7384577ce0d224d33af3c6baac000b7af (patch) | |
tree | d4252243133ffb7f3b7bb12b2649b7c1f084164c /devel/kcachegrind/Makefile | |
parent | 68322422c63c9560e6c264db7bd7809b80941cd9 (diff) |
Notes
Diffstat (limited to 'devel/kcachegrind/Makefile')
-rw-r--r-- | devel/kcachegrind/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile index 9de94dd32bb2..fa555f141d8e 100644 --- a/devel/kcachegrind/Makefile +++ b/devel/kcachegrind/Makefile @@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= kcachegrind MAINTAINER= barner@gmx.de COMMENT= Profiling Visualization Tool -RUN_DEPENDS= calltree:${PORTSDIR}/devel/calltree +RUN_DEPENDS= callgrind:${PORTSDIR}/devel/callgrind ONLY_FOR_ARCHS= i386 CONFLICTS= kdesdk3-[0-9]* @@ -24,8 +24,16 @@ USE_GMAKE= yes USE_KDELIBS_VER=3 USE_REINPLACE= yes +OPTIONS= DOT "Use GraphViz/dot to render call graphs" on + +.include <bsd.port.pre.mk> + +.if defined (WITH_DOT) +RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |