mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
dmd-bootstrap: remove build_wrksrc for patching
This commit is contained in:
parent
ba7645e0c4
commit
2e74b30af9
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,6 @@ _gitrev_dmd=75266348c8a2368945a339ab86d7c8960a9bfc08
|
||||||
_gitrev_druntime=33ae38cef41564b12864470afaf8430eb7334d3b
|
_gitrev_druntime=33ae38cef41564b12864470afaf8430eb7334d3b
|
||||||
_gitrev_phobos=30ac23a0889dd183221ce531a057171dd45296c4
|
_gitrev_phobos=30ac23a0889dd183221ce531a057171dd45296c4
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_wrksrc="dmd/src"
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
provides="d-compiler-${version}_${revision}"
|
provides="d-compiler-${version}_${revision}"
|
||||||
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
|
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
|
||||||
|
@ -44,6 +43,7 @@ do_build() {
|
||||||
i686*) bits=32;;
|
i686*) bits=32;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
cd dmd/src
|
||||||
make ${makejobs} -f posix.mak HOST_CXX=$CXX MODEL=$bits TARGET_CPU=X86 RELEASE=1 all
|
make ${makejobs} -f posix.mak HOST_CXX=$CXX MODEL=$bits TARGET_CPU=X86 RELEASE=1 all
|
||||||
dmd=${wrksrc}/dmd/src/dmd
|
dmd=${wrksrc}/dmd/src/dmd
|
||||||
|
|
||||||
|
@ -62,6 +62,7 @@ do_install() {
|
||||||
i686*) bits=32;;
|
i686*) bits=32;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
cd dmd/src
|
||||||
vbin dmd
|
vbin dmd
|
||||||
|
|
||||||
vmkdir etc
|
vmkdir etc
|
||||||
|
|
Loading…
Add table
Reference in a new issue