diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-08-31 20:11:03 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-08-31 20:11:03 +0000 |
commit | 44eccf42725b106defa99bfbfffc617a7d0dffe4 (patch) | |
tree | 44b9d7bf0aacd90f1049cc7c77d213132e134971 /devel/valgrind | |
parent | c4619dfff8e5ca6b8449d14d6ccbf79aad9e948e (diff) | |
download | ports-44eccf42725b106defa99bfbfffc617a7d0dffe4.tar.gz ports-44eccf42725b106defa99bfbfffc617a7d0dffe4.zip |
Notes
Diffstat (limited to 'devel/valgrind')
-rw-r--r-- | devel/valgrind/Makefile | 24 | ||||
-rw-r--r-- | devel/valgrind/distinfo | 2 | ||||
-rw-r--r-- | devel/valgrind/files/patch-configure | 25 | ||||
-rw-r--r-- | devel/valgrind/pkg-plist | 4 |
4 files changed, 42 insertions, 13 deletions
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile index 90c21ee95e38..5e6f2f485996 100644 --- a/devel/valgrind/Makefile +++ b/devel/valgrind/Makefile @@ -1,24 +1,29 @@ -# Ports collection makefile for: valgrind -# Date created: April 19 2004 -# Whom: Simon Barner <barner@gmx.de> -# # $FreeBSD$ -# PORTNAME= valgrind PORTVERSION= 3.7.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel -MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ +MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/:dist \ + http://mirror.shatow.net/freebsd/${PORTNAME}/:manpages DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}-3 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:dist \ + ${DISTNAME}-manpages${EXTRACT_SUFX}:manpages -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bdrewery@FreeBSD.org COMMENT= A (memory) debugging and profiling tool CONFLICTS= valgrind-snapshot-[0-9]* ONLY_FOR_ARCHS= i386 amd64 +MAN1= callgrind_control.1 \ + callgrind_annotate.1 \ + valgrind.1 \ + ms_print.1 \ + cg_annotate.1 + OPTIONS_DEFINE= MPI MPI_DESC= Enable build of MPI wrappers @@ -42,14 +47,11 @@ PLIST_SUB+= MPI="@comment " .endif post-install: + (cd ${WRKDIR}/valgrind-manpages/ && ${COPYTREE_SHARE} \* ${MANPREFIX}/man/man1) @${CAT} ${PKGMESSAGE} .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -BROKEN= leaves files behind on deinstallation -.endif - .if ${OSVERSION} < 700104 IGNORE= your FreeBSD version is not supported .endif diff --git a/devel/valgrind/distinfo b/devel/valgrind/distinfo index 438b7333c767..7ba07af403bf 100644 --- a/devel/valgrind/distinfo +++ b/devel/valgrind/distinfo @@ -1,2 +1,4 @@ SHA256 (valgrind-freebsd-3.7.0-3.tar.bz2) = 0a11ebf01634f148b0be637a34d48420093dbe1c194b57f4ca948c1f3d556b21 SIZE (valgrind-freebsd-3.7.0-3.tar.bz2) = 6069934 +SHA256 (valgrind-freebsd-3.7.0-3-manpages.tar.bz2) = a48c3e7e52349691a8dd176de623fc60721e296cadc79ae705963b31c988901d +SIZE (valgrind-freebsd-3.7.0-3-manpages.tar.bz2) = 22639 diff --git a/devel/valgrind/files/patch-configure b/devel/valgrind/files/patch-configure new file mode 100644 index 000000000000..beef97b695c0 --- /dev/null +++ b/devel/valgrind/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig 2012-08-06 13:05:25.000000000 -0500 ++++ configure 2012-08-06 13:16:47.000000000 -0500 +@@ -5327,7 +5327,10 @@ + | $SED 's/^[^(]*([^)]*) *\([0-9.]*\).*$/\1/'` + + is_clang="notclang" +-if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then ++if test "x`${CC} --version | head -n 1 | $SED 's/.*\(clang\) version.*/\1/'`" = "xclang" ; then ++ gcc_version=`${CC} --version \ ++ | head -n 1 \ ++ | $SED 's/^.*version \([0-9.]*\).*$/\1/'` + is_clang="clang" + fi + +@@ -5344,6 +5347,10 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (clang-${gcc_version})" >&5 + $as_echo "ok (clang-${gcc_version})" >&6; } + ;; ++ clang-3.*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (clang-${gcc_version})" >&5 ++$as_echo "ok (clang-${gcc_version})" >&6; } ++ ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (${gcc_version})" >&5 + $as_echo "no (${gcc_version})" >&6; } diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist index bdb55c5f24ce..6169246b2997 100644 --- a/devel/valgrind/pkg-plist +++ b/devel/valgrind/pkg-plist @@ -105,8 +105,8 @@ lib/valgrind/64bit-linux.xml lib/valgrind/64bit-sse-valgrind-s1.xml lib/valgrind/64bit-sse-valgrind-s2.xml lib/valgrind/64bit-sse.xml -%%AMD64%%lib/valgrind/amd64-coresse-valgrind.xml -%%AMD64%%lib/valgrind/amd64-linux-valgrind.xml +lib/valgrind/amd64-coresse-valgrind.xml +lib/valgrind/amd64-linux-valgrind.xml lib/valgrind/arm-core-valgrind-s1.xml lib/valgrind/arm-core-valgrind-s2.xml lib/valgrind/arm-core.xml |