svn commit: r528207 - head/lang/ghc

Gleb Popov arrowd at FreeBSD.org
Wed Mar 11 05:21:25 UTC 2020


Author: arrowd
Date: Wed Mar 11 05:21:23 2020
New Revision: 528207
URL: https://svnweb.freebsd.org/changeset/ports/528207

Log:
  lang/ghc: Follow-up fix for r528190.
  
  PR:		244556
  Reported by:	Evilham <contact at evilham.com>, pkubaj

Modified:
  head/lang/ghc/Makefile

Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile	Wed Mar 11 04:59:00 2020	(r528206)
+++ head/lang/ghc/Makefile	Wed Mar 11 05:21:23 2020	(r528207)
@@ -86,8 +86,8 @@ ONLY_FOR_ARCHS+=	aarch64 armv6 armv7 powerpc64
 .include <bsd.port.pre.mk>
 
 # This version of ncurses is needed by bootstrap compiler
-.if ${OSVERSION} > 1300078 && empty(PORT_OPTIONS:MBOOT)
-BUILD_DEPENDS=	libncursesw.so.8:misc/compat12x
+.if ${OSVERSION} > 1300078 && (${ARCH} == amd64 || ${ARCH} == i386) && empty(PORT_OPTIONS:MBOOT)
+BUILD_DEPENDS=	${LOCALBASE}/lib/compat/libncursesw.so.8:misc/compat12x
 .endif
 
 .if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} <= 4


More information about the svn-ports-head mailing list