svn commit: r506403 - head/lang/ghc

Gleb Popov arrowd at FreeBSD.org
Thu Jul 11 09:44:40 UTC 2019


Author: arrowd
Date: Thu Jul 11 09:44:39 2019
New Revision: 506403
URL: https://svnweb.freebsd.org/changeset/ports/506403

Log:
  lang/ghc: Adjust OSVERSION checks for powerpc64.
  
  Submitted by:	Mikael Urankar <mikael.urankar at gmail.com>

Modified:
  head/lang/ghc/Makefile

Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile	Thu Jul 11 09:32:11 2019	(r506402)
+++ head/lang/ghc/Makefile	Thu Jul 11 09:44:39 2019	(r506403)
@@ -139,7 +139,7 @@ _EXECUTABLES+=	${GHC_LIBDIR}/bin/ghc-iserv-dyn
 .include <bsd.port.options.mk>
 
 .if empty(PORT_OPTIONS:MBOOT)
-.  if ${ARCH} == powerpc64 && ${OSVERSION} < 1300036
+.  if ${ARCH} == powerpc64 && ${OSVERSION} < 1300040
 ELF_V=		-elfv1
 .  endif
 DISTFILES+=		ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${ELF_V}${EXTRACT_SUFX}:boot
@@ -248,7 +248,7 @@ post-patch:
 .endif
 
 # XXX osversion powerpc64 elfv2
-.if ${OSVERSION} >= 1300036
+.if ${OSVERSION} >= 1300040
 	@${REINPLACE_CMD} -e 's/ELF_V1/ELF_V2/' \
 		${WRKSRC}/configure ${WRKSRC}/aclocal.m4
 .endif


More information about the svn-ports-all mailing list