diff options
author | sem <sem@FreeBSD.org> | 2004-09-02 00:27:21 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-09-02 00:27:21 +0800 |
commit | 6ecef773189fb907dd6e1ec07319587f94b095f5 (patch) | |
tree | c4a1e55fdb064646b4544a2ac9ee8231f00acaa3 /devel/kcachegrind | |
parent | ae09c2be3d473a59cc244f91e9a29420a80406da (diff) | |
download | freebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.tar.gz freebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.tar.zst freebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.zip |
Rename devel/calltree to callgrind.
Update it to 0.9.8.
Update related ports.
PR: ports/70936
Submitted by: maintainer
Diffstat (limited to 'devel/kcachegrind')
-rw-r--r-- | devel/kcachegrind/Makefile | 12 | ||||
-rw-r--r-- | devel/kcachegrind/files/patch-aclocal.m4 | 20 | ||||
-rw-r--r-- | devel/kcachegrind/pkg-plist | 1 |
3 files changed, 31 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> diff --git a/devel/kcachegrind/files/patch-aclocal.m4 b/devel/kcachegrind/files/patch-aclocal.m4 new file mode 100644 index 000000000000..14aa33ca8fdc --- /dev/null +++ b/devel/kcachegrind/files/patch-aclocal.m4 @@ -0,0 +1,20 @@ +--- aclocal.m4.orig Wed Apr 28 21:47:24 2004 ++++ aclocal.m4 Sat Jul 31 16:24:17 2004 +@@ -2773,7 +2773,7 @@ + CFLAGS="-g -O2 $CFLAGS" + fi + else +- CFLAGS="-O2 $CFLAGS" ++ CFLAGS="$CFLAGS" + fi + fi + +@@ -2815,7 +2815,7 @@ + if test "$CXX" = "KCC"; then + CXXFLAGS="+K3 $CXXFLAGS" + else +- CXXFLAGS="-O2 $CXXFLAGS" ++ CXXFLAGS="$CXXFLAGS" + fi + fi + fi diff --git a/devel/kcachegrind/pkg-plist b/devel/kcachegrind/pkg-plist index c18bfa7dd4c1..284823240980 100644 --- a/devel/kcachegrind/pkg-plist +++ b/devel/kcachegrind/pkg-plist @@ -12,6 +12,7 @@ share/apps/kcachegrind/icons/hicolor/22x22/actions/percent.png share/apps/kcachegrind/icons/hicolor/32x32/actions/percent.png share/apps/kcachegrind/kcachegrindui.rc share/apps/kcachegrind/tips +share/doc/HTML/en/kcachegrind/common share/doc/HTML/en/kcachegrind/index.docbook share/doc/HTML/en/kcachegrind/index.cache.bz2 share/icons/hicolor/32x32/apps/kcachegrind.png |