Skip to content
Permalink
Browse files

mariadb-10.*: Fix permissions of install-sh

Should fix build failure when coreutils is not installed.
  • Loading branch information
ryandesign committed Feb 28, 2018
1 parent 66c36fd commit 453d09ceac93e5da19b2d1f290412f8d67710d41
Showing with 18 additions and 0 deletions.
  1. +6 −0 databases/mariadb-10.0/Portfile
  2. +6 −0 databases/mariadb-10.1/Portfile
  3. +6 −0 databases/mariadb-10.2/Portfile
@@ -59,6 +59,12 @@ if {$subport eq $name} {
copy ${filespath}/macports-default.cnf \
${filespath}/my.cnf \
${cmake.build_dir}/macports/
foreach f {
storage/tokudb/PerconaFT/third_party/snappy-1.1.2/install-sh
storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/build-aux/install-sh
} {
file attributes ${worksrcpath}/${f} -permissions a+x
}
}

post-patch {
@@ -60,6 +60,12 @@ if {$subport eq $name} {
copy ${filespath}/macports-default.cnf \
${filespath}/my.cnf \
${cmake.build_dir}/macports/
foreach f {
storage/tokudb/PerconaFT/third_party/snappy-1.1.2/install-sh
storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/build-aux/install-sh
} {
file attributes ${worksrcpath}/${f} -permissions a+x
}
}

post-patch {
@@ -60,6 +60,12 @@ if {$subport eq $name} {
copy ${filespath}/macports-default.cnf \
${filespath}/my.cnf \
${cmake.build_dir}/macports/
foreach f {
storage/tokudb/PerconaFT/third_party/snappy-1.1.2/install-sh
storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/build-aux/install-sh
} {
file attributes ${worksrcpath}/${f} -permissions a+x
}
}

post-patch {

0 comments on commit 453d09c

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