Date: Thu, 11 Jul 2019 09:44:40 +0000 (UTC) From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506403 - head/lang/ghc Message-ID: <201907110944.x6B9iesR013736@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907110944.x6B9iesR013736>