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:
parent
da8d2ffa3c
commit
6d4d84530d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495767
1 changed files with 1 additions and 1 deletions
|
@ -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}/,,}
|
||||
|
||||
|
|
Loading…
Reference in a new issue