lang/ghc: Unbreak on powerpc64-elfv1.
Submitted by: Mikael Urankar <mikael.urankar@gmail.com> Reviewed by: pkubaj Differential Revision: https://reviews.freebsd.org/D22633
This commit is contained in:
parent
b81274ec4b
commit
451c74c781
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518988
2 changed files with 6 additions and 8 deletions
|
@ -143,10 +143,9 @@ _EXECUTABLES+= ${GHC_LIBDIR}/bin/ghc-iserv-dyn
|
|||
.include <bsd.port.options.mk>
|
||||
|
||||
.if empty(PORT_OPTIONS:MBOOT)
|
||||
. if ${ARCH} == powerpc64 && ${OSVERSION} < 1300040
|
||||
ELF_V= -elfv1
|
||||
. endif
|
||||
DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${ELF_V}${EXTRACT_SUFX}:boot
|
||||
BOOTSTRAPS_SUFFIX?= ${BOOTSTRAPS_SUFFIX_${ARCH}}
|
||||
BOOTSTRAPS_SUFFIX_powerpc64?= -${PPC_ABI:tl}
|
||||
DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${BOOTSTRAPS_SUFFIX}${EXTRACT_SUFX}:boot
|
||||
.endif # MBOOT
|
||||
|
||||
.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
|
||||
|
@ -251,8 +250,7 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e '/^htmldir/d' ${BOOT_DIR}/mk/build.mk
|
||||
.endif
|
||||
|
||||
# XXX osversion powerpc64 elfv2
|
||||
.if ${OSVERSION} >= 1300040
|
||||
.if ${ARCH} == powerpc64 && ${PPC_ABI} == ELFv2
|
||||
@${REINPLACE_CMD} -e 's/ELF_V1/ELF_V2/' \
|
||||
${WRKSRC}/configure ${WRKSRC}/aclocal.m4
|
||||
.endif
|
||||
|
|
|
@ -21,8 +21,8 @@ SHA256 (ghc-8.6.3-boot-armv6-freebsd.tar.xz) = 5260987646c9f6102f35a7cdedfde7852
|
|||
SIZE (ghc-8.6.3-boot-armv6-freebsd.tar.xz) = 113748008
|
||||
SHA256 (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 765d01199ceb0dfa5c84de692cec427e67ae1cf1ba6e1fc20e7ca854c6ceb556
|
||||
SIZE (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 114046668
|
||||
SHA256 (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = d05431053aeabe9a284439e1ebb4e0a58587cc14f9e5f6250b1b1e4476c4ec83
|
||||
SIZE (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = 107059040
|
||||
SHA256 (ghc-8.6.3-boot-powerpc64-freebsd-elfv2.tar.xz) = d05431053aeabe9a284439e1ebb4e0a58587cc14f9e5f6250b1b1e4476c4ec83
|
||||
SIZE (ghc-8.6.3-boot-powerpc64-freebsd-elfv2.tar.xz) = 107059040
|
||||
SHA256 (ghc-8.6.3-boot-powerpc64-freebsd-elfv1.tar.xz) = fb9bd4bad3a54722b7012c0a531cbdfe71b3b20a0b92cbd52195a526dc5ccde4
|
||||
SIZE (ghc-8.6.3-boot-powerpc64-freebsd-elfv1.tar.xz) = 112652192
|
||||
SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
|
||||
|
|
Loading…
Reference in a new issue