summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/php/php-5.6.26-r2.ebuild2
-rw-r--r--dev-lang/php/php-7.0.11-r2.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/php/php-5.6.26-r2.ebuild b/dev-lang/php/php-5.6.26-r2.ebuild
index 90bc6e291716..40ada24416a5 100644
--- a/dev-lang/php/php-5.6.26-r2.ebuild
+++ b/dev-lang/php/php-5.6.26-r2.ebuild
@@ -485,7 +485,7 @@ src_configure() {
# the files that autotools creates. This was all originally
# based on the autotools-utils eclass.
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
- cp -r "${S}" "${BUILD_DIR}" || die
+ cp -a "${S}" "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
local sapi_conf=(
diff --git a/dev-lang/php/php-7.0.11-r2.ebuild b/dev-lang/php/php-7.0.11-r2.ebuild
index 0729ac3b199b..9a572d658484 100644
--- a/dev-lang/php/php-7.0.11-r2.ebuild
+++ b/dev-lang/php/php-7.0.11-r2.ebuild
@@ -473,7 +473,7 @@ src_configure() {
# the files that autotools creates. This was all originally
# based on the autotools-utils eclass.
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
- cp -r "${S}" "${BUILD_DIR}" || die
+ cp -a "${S}" "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
local sapi_conf=(