diff options
author | 2024-10-31 20:05:44 +0200 | |
---|---|---|
committer | 2024-10-31 20:05:44 +0200 | |
commit | 8d2e15cf4583a187dcf6b1cb6232b6fff2207999 (patch) | |
tree | 56269aa823c0aaedb00c68ca7fe1b1933ad325db | |
parent | dev-lang/dmd: add 2.110.0_beta1 (diff) | |
download | dlang-8d2e15cf4583a187dcf6b1cb6232b6fff2207999.tar.gz dlang-8d2e15cf4583a187dcf6b1cb6232b6fff2207999.tar.bz2 dlang-8d2e15cf4583a187dcf6b1cb6232b6fff2207999.zip |
dmd-r1.eclass: don't edos2unix source files
The edos2unix command takes a lot of time to go over all source and
documentation files. Changing the source files shouldn't change the
produced binaries and there is little to be gained by changing the html
files.
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
-rw-r--r-- | eclass/dmd-r1.eclass | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/eclass/dmd-r1.eclass b/eclass/dmd-r1.eclass index 49ec257..ad53677 100644 --- a/eclass/dmd-r1.eclass +++ b/eclass/dmd-r1.eclass @@ -133,18 +133,6 @@ dmd-r1_src_unpack() { mv -T "phobos-${MY_VER}" "${S}/phobos" || die } -dmd-r1_src_prepare() { - einfo "Removing dos-style line endings." - local file - while read -rd '' file; do - edos2unix "${file}" - done < <( find "${WORKDIR}" \( -name '*.txt' -o -name '*.html' -o -name '*.d' \ - -o -name '*.di' -o -name '*.ddoc' -type f \) \ - -print0 ) - - default -} - dmd-r1_src_compile() { einfo "Building dmd build script" dlang_compile_bin dmd/compiler/src/build{,.d} @@ -429,5 +417,4 @@ _dmd_foreach_abi() { fi -EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_test src_install \ - pkg_postinst pkg_postrm +EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_postinst pkg_postrm |