dmd: small fixes, mark i686 broken
https://issues.dlang.org/show_bug.cgi?id=17833
This commit is contained in:
parent
6a9b047ce1
commit
4ec200693f
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dmd'
|
# Template file for 'dmd'
|
||||||
pkgname=dmd
|
pkgname=dmd
|
||||||
version=2.077.0
|
version=2.077.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="dmd2"
|
wrksrc="dmd2"
|
||||||
short_desc="The Digital Mars D compiler"
|
short_desc="The Digital Mars D compiler"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -19,7 +19,7 @@ elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
_archbits=32
|
_archbits=32
|
||||||
fi
|
fi
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="x86_64"
|
||||||
conf_files="/etc/dmd.conf"
|
conf_files="/etc/dmd.conf"
|
||||||
nopie=yes
|
nopie=yes
|
||||||
hostmakedepends="curl"
|
hostmakedepends="curl"
|
||||||
|
@ -36,7 +36,7 @@ do_build() {
|
||||||
cp ${FILESDIR}/default_ddoc_theme.ddoc res
|
cp ${FILESDIR}/default_ddoc_theme.ddoc res
|
||||||
|
|
||||||
cd dmd
|
cd dmd
|
||||||
ls
|
|
||||||
mkdir src
|
mkdir src
|
||||||
cp osmodel.mak src
|
cp osmodel.mak src
|
||||||
make ${makejobs} -f posix.mak MODEL=${_archbits} AUTO_BOOTSTRAP=1 PIC=1
|
make ${makejobs} -f posix.mak MODEL=${_archbits} AUTO_BOOTSTRAP=1 PIC=1
|
||||||
|
@ -45,7 +45,7 @@ ls
|
||||||
make ${makejobs} -f posix.mak MODEL=${_archbits} DMD=../dmd/dmd PIC=1
|
make ${makejobs} -f posix.mak MODEL=${_archbits} DMD=../dmd/dmd PIC=1
|
||||||
|
|
||||||
cd ../phobos
|
cd ../phobos
|
||||||
make ${makejobs} -f posix.mak MODEL=${_archbits} DMD=../dmd/dmd PUC=1
|
make ${makejobs} -f posix.mak MODEL=${_archbits} DMD=../dmd/dmd PIC=1
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue