Skip to content
Permalink
Browse files

devel/valgrind:

Add patch for compatibility with Mac OS X 10.6 Snow Leopard.
No revbump as build was broken and changes do not affect other platforms.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117639 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
raimue committed Mar 6, 2014
1 parent ab23f0e commit f530e42fcb3e596cb2dbf63b03289dd6485aec6c
Showing with 413 additions and 7 deletions.
  1. +8 −7 devel/valgrind/Portfile
  2. +405 −0 devel/valgrind/files/patch-compat-snowleo.diff
@@ -34,18 +34,19 @@ checksums md5 0947de8112f946b9ce64764af7be6df2 \
# Avoid conflict of faq.html and FAQ.html, #30541
extract.post_args-append --exclude=${distname}/docs/html/FAQ.html

pre-fetch {
if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
return -code error "incompatible Mac OS X version"
}
}
#pre-fetch {
# if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
# ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
# return -code error "incompatible Mac OS X version"
# }
#}

depends_build bin:perl:perl5
# Ignore trace reports about boost, Qt and OpenMP
# as they are only used for tests

patchfiles link_tool_exe_darwin-ccache.diff
patchfiles link_tool_exe_darwin-ccache.diff \
patch-compat-snowleo.diff

configure.args --mandir=${prefix}/share/man \
--without-mpicc

0 comments on commit f530e42

Please sign in to comment.
You can’t perform that action at this time.