pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ghc92 ghc92: fix compat dependencies for NetBSD 10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cbbc76b15af
branches:  trunk
changeset: 390736:6cbbc76b15af
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 28 10:28:17 2022 +0000

description:
ghc92: fix compat dependencies for NetBSD 10

diffstat:

 lang/ghc92/Makefile     |  6 +++++-
 lang/ghc92/bootstrap.mk |  4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 4a0bde29f1a1 -r 6cbbc76b15af lang/ghc92/Makefile
--- a/lang/ghc92/Makefile       Wed Dec 28 10:13:29 2022 +0000
+++ b/lang/ghc92/Makefile       Wed Dec 28 10:28:17 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/11/22 14:35:32 nia Exp $
+# $NetBSD: Makefile,v 1.11 2022/12/28 10:28:17 wiz Exp $
 # -----------------------------------------------------------------------------
 # Package metadata
 #
@@ -243,6 +243,10 @@
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*) && ${OPSYS_VERSION} >= 099000
 BUILD_DEPENDS+=        compat90-[0-9]*:../../emulators/compat90
 ALL_ENV+=      LD_LIBRARY_PATH=${PREFIX}/emul/netbsd/usr/lib
+.elif !empty(MACHINE_PLATFORM:MNetBSD-*-*) && ${OPSYS_VERSION} >= 099000
+BUILD_DEPENDS+=        compat80-[0-9]*:../../emulators/compat80
+BUILD_DEPENDS+=        compat90-[0-9]*:../../emulators/compat90
+ALL_ENV+=      LD_LIBRARY_PATH=${PREFIX}/emul/netbsd/usr/lib
 .elif !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && ${OPSYS_VERSION} >= 090000
 BUILD_DEPENDS+=        compat80-[0-9]*:../../emulators/compat80
 ALL_ENV+=      LD_LIBRARY_PATH=${PREFIX}/emul/netbsd/usr/lib:${WRKDIR}/lib
diff -r 4a0bde29f1a1 -r 6cbbc76b15af lang/ghc92/bootstrap.mk
--- a/lang/ghc92/bootstrap.mk   Wed Dec 28 10:13:29 2022 +0000
+++ b/lang/ghc92/bootstrap.mk   Wed Dec 28 10:28:17 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.2 2022/07/07 16:26:37 jperkin Exp $
+# $NetBSD: bootstrap.mk,v 1.3 2022/12/28 10:28:17 wiz Exp $
 # -----------------------------------------------------------------------------
 # Select a bindist of bootstrapping compiler on a per-platform basis.
 #
@@ -271,7 +271,7 @@
        @${ECHO} "Your bootstrap kit has the following run-time dependencies:"
 .for pkg in ${BOOT_GHC_DEPS}
        @${PRINTF} "  * %-8s" "${pkg}:"
-.  if !empty(USE_BUILTIN.${pkg}:M[nN][oO])
+.  if ${USE_BUILTIN.${pkg}:tl} == no
        @${ECHO_N} " pkgsrc ${BUILDLINK_PKGNAME.${pkg}}"
 .  else
        @${ECHO_N} " native"



Home | Main Index | Thread Index | Old Index