bsd.cabal.mk: Sanitize arch string for powerpc64

Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Approved by:	tcberner (mentor)
This commit is contained in:
Gleb Popov 2019-03-15 05:31:48 +00:00
parent da8d2ffa3c
commit 6d4d84530d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495767

View file

@ -54,7 +54,7 @@ GHC_LIB_DOCSDIR_REL= share/doc/ghc-${GHC_VERSION}/html/libraries
CABAL_LIBDIR= ${PREFIX}/lib/cabal/ghc-${GHC_VERSION}
CABAL_LIBSUBDIR= ${PACKAGE}
CABAL_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/}
CABAL_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/powerpc64/ppc64/}
CABAL_ARCHSUBDIR= ${CABAL_ARCH}-freebsd-ghc-${GHC_VERSION}
CABAL_LIBDIR_REL= ${CABAL_LIBDIR:S,^${PREFIX}/,,}