1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 3.5.0-2:

- Fix build of MPI wrappers [1]
  - Fix LDT handling in i386 case.
  - Fix socketpair(2) syscall wrapper.

PR:		ports/144067 [1]
Reported by:	"O. Hartmann" <ohartman@zedat.fu-berlin.de> [1]
This commit is contained in:
Stanislav Sedov 2010-07-13 01:54:18 +00:00
parent 7f93df111e
commit f086451dc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257704
3 changed files with 17 additions and 7 deletions

View File

@ -7,11 +7,11 @@
PORTNAME= valgrind
PORTVERSION= 3.5.0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
MAINTAINER= stas@FreeBSD.org
COMMENT= A (memory) debugging and profiling tool
@ -27,6 +27,8 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS= MPI "Enable build of MPI wrappers" off
post-install:
@${CAT} ${PKGMESSAGE}
@ -36,8 +38,15 @@ post-install:
IGNORE= your FreeBSD version is not supported
.endif
.if defined(WITH_MPI) || exists(${LOCALBASE}/bin/mpicc)
LIB_DEPENDS+= mpich.1:${PORTSDIR}/net/mpich2
PLIST_SUB+= MPI=""
.else
PLIST_SUB+= MPI="@comment "
.endif
.if ${ARCH} == "amd64"
PLIST_SUB+= AMD64=""
PLIST_SUB+= AMD64="" ARCH=amd64
. if !exists(/usr/lib32)
CONFIGURE_ARGS+= --enable-only64bit
PLIST_SUB+= X86="@comment "
@ -46,7 +55,7 @@ PLIST_SUB+= X86=""
. else
. endif
.else
PLIST_SUB+= X86=""
PLIST_SUB+= X86="" ARCH=x86
PLIST_SUB+= AMD64="@comment "
.endif

View File

@ -1,3 +1,3 @@
MD5 (valgrind-3.5.0-1.tar.bz2) = 06d237a887aacad29ab1c5c0c0601e99
SHA256 (valgrind-3.5.0-1.tar.bz2) = f2a23de5396063290af526149cc398245e99434604574d45d77b3ca49edc27e0
SIZE (valgrind-3.5.0-1.tar.bz2) = 5061256
MD5 (valgrind-3.5.0-2.tar.bz2) = 3e513ee44a50b4cc08c3d1624788469b
SHA256 (valgrind-3.5.0-2.tar.bz2) = b0409456f987b1667ade447b1a1050c58b5b24915fa2a9c1e643048e9fc178e0
SIZE (valgrind-3.5.0-2.tar.bz2) = 5129811

View File

@ -115,6 +115,7 @@ lib/valgrind/default.supp
%%X86%%lib/valgrind/vgpreload_massif-x86-freebsd.so
%%AMD64%%lib/valgrind/vgpreload_memcheck-amd64-freebsd.so
%%X86%%lib/valgrind/vgpreload_memcheck-x86-freebsd.so
%%MPI%%lib/valgrind/libmpiwrap-%%ARCH%%-freebsd.so
@dirrm lib/valgrind
@dirrm include/valgrind/vki
@dirrm include/valgrind