head 1.9; access; symbols pkgsrc-2023Q4:1.9.0.18 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.16 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.14 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.12 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.10 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.8 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.6 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.4 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.2 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.7.0.16 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.14 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.12 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.10 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.8 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.6 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.2 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.4 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.6.0.22 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.20 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.18 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.16 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.14 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.12 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.10 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.8 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.6 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.2 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.5.0.16 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.14 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.12 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.10 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.8 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.6 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.4 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.2 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.4.0.18 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.16 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.14 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.12 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.10 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.8 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.6 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.46 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.44 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.42 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.40 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.38 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.36 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.34 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.32 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.30 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.28 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.26 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.24 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.22 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.20 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.18 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.16 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.14 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.12 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.10 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.8 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.6 pkgsrc-2008Q1:1.3.0.4 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.2 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2; locks; strict; comment @# @; 1.9 date 2021.12.18.00.53.33; author he; state Exp; branches; next 1.8; commitid yzqCKcZytmn5f4lD; 1.8 date 2021.12.18.00.51.04; author he; state Exp; branches; next 1.7; commitid dZUHa0wQH4Jce4lD; 1.7 date 2019.10.15.11.15.49; author he; state Exp; branches; next 1.6; commitid ui77by93NS7VeXGB; 1.6 date 2017.06.01.13.30.26; author jlam; state Exp; branches; next 1.5; commitid kJ7LgYlPHhSYOFTz; 1.5 date 2015.05.03.15.01.11; author spz; state Exp; branches; next 1.4; commitid m1ZMQiz7QhguI0ky; 1.4 date 2013.02.17.17.28.42; author spz; state Exp; branches; next 1.3; 1.3 date 2007.12.31.20.06.41; author jlam; state Exp; branches; next 1.2; 1.2 date 2007.08.23.18.20.32; author jlam; state Exp; branches; next 1.1; 1.1 date 2007.08.21.22.49.33; author jlam; state Exp; branches; next ; desc @@ 1.9 log @Add quotes overlooked in previous. @ text @# $NetBSD: netbsd-compat.mk,v 1.8 2021/12/18 00:51:04 he Exp $ # # COMPAT_* for NetBSD -- see options(4). # # Variables defined by this file: # # EMUL_EXEC_FMT # The executable format of the emulated operating system. # # NATIVE_EXEC_FMT # The executable format of the native operating system. # NATIVE_EXEC_FMT= ${SHLIB_TYPE} # Most NetBSD (i386) software need netbsd>=1.6 .for _version_ in ${EMUL_REQD:Mnetbsd>=*:S/netbsd>=//} NETBSD_VERSION_REQD?= ${_version_} .endfor NETBSD_VERSION_REQD?= 1.6 # When building a NetBSD "compat" package, force the NetBSD type to be # the specific version of NetBSD compatibility that is being built. # .if defined(NETBSD_PKG) && defined(NETBSD_VERSION) EMUL_TYPE.netbsd= compat-${NETBSD_VERSION} .endif # The _EMUL_PKG.* table maps ${EMUL_TYPE.netbsd} to the NetBSD shared libs # package that provides that compatibility version. # _EMUL_PKG.compat-1.2= compat12 _EMUL_PKG.compat-1.3= compat13 _EMUL_PKG.compat-1.4= compat14 _EMUL_PKG.compat-1.5= compat15 _EMUL_PKG.compat-1.6= compat16 _EMUL_PKG.compat-2.0= compat20 _EMUL_PKG.compat-3.0= compat30 _EMUL_PKG.compat-4.0= compat40 _EMUL_PKG.compat-5.0= compat50 _EMUL_PKG.compat-5.1= compat51 _EMUL_PKG.compat-6.0= compat60 _EMUL_PKG.compat-6.1= compat61 _EMUL_PKG.compat-8.0= compat80 _EMUL_PKG.compat-9.0= compat90 _EMUL_PKG.compat= # defined, but empty # EMUL_TYPE.netbsd can be "compat" or "compat-[0-9]*". If a particular # EMUL_TYPE.netbsd is requested, then always use it, regardless of the # value of NETBSD_VERSION_REQD. # .if defined(_EMUL_PKG.${EMUL_TYPE.netbsd}) . if !empty(_EMUL_PKG.${EMUL_TYPE.netbsd}) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.${EMUL_TYPE.netbsd}}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M1.2*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-1.2}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M1.3*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-1.3}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M1.4*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-1.4}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M1.5*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-1.5}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M1.6*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-1.6}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M2.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-2.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M3.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-3.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M4.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-4.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M5.0) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-5.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M5.[1-9]*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-5.1}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M6.0.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-6.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M6.1.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-6.1}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M8.0.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-8.0}/emulator.mk" . elif !empty(NETBSD_VERSION_REQD:M9.*) . include "${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-9.0}/emulator.mk" . endif .else EMUL_DISTRO= netbsd-0 PKG_FAIL_REASON+= "[netbsd-compat.mk] ${EMUL_TYPE.netbsd} is not a supported EMUL_TYPE.netbsd" .endif @ 1.8 log @Make compat90 known. @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.7 2019/10/15 11:15:49 he Exp $ d96 1 a96 1 . include ${PKGSRCDIR}/emulators/${_EMUL_PKG.compat-9.0}/emulator.mk @ 1.7 log @Prepare for compat80 package. @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.6 2017/06/01 13:30:26 jlam Exp $ d45 1 d95 3 @ 1.6 log @Use public SHLIB_TYPE instead of private _OPSYS_SHLIB_TYPE. @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.5 2015/05/03 15:01:11 spz Exp $ d44 1 d91 3 @ 1.5 log @fix compat60 (and strip down a lot to a backward compatibility package to NetBSD 6.1) introduce compat61 (and compat61-x11 with it) as a backward compatibility package to NetBSD 7 add compat61* to mk/emulator/netbsd-compat.mk and emulators/Makefile some sort of version for the binary compat packages might have been useful, maybe abusing the DIST_SUBDIR? compat61 is likely to change if/when NetBSD 6.2 is released @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.4 2013/02/17 17:28:42 spz Exp $ d14 1 a14 3 NATIVE_EXEC_FMT= ${_NATIVE_EXEC_FMT_cmd:sh} _NATIVE_EXEC_FMT_cmd= sh ${.CURDIR}/../../mk/scripts/shlib-type \ ${_OPSYS_SHLIB_TYPE:Q} ${MAKE:Q} @ 1.4 log @make emulators/compat50, emulators/compat50-x11, emulators/compat51, emulators/compat51-x11 and emulators/compat60 known @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.3 2007/12/31 20:06:41 jlam Exp $ d45 1 d86 1 a86 1 . elif !empty(NETBSD_VERSION_REQD:M6.*) d89 3 @ 1.3 log @Add support for NetBSD 4.0 compatibility through installing compat40 and netbsd32_compat40 packages. The compat40 packages are currently built by comparing the 4.0 release against the 20071230 version of HEAD. Commit approved by . @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.2 2007/08/23 18:20:32 jlam Exp $ d42 3 d79 9 @ 1.2 log @Allow a nicer syntax for expressing needing at least a certain version of an emulated operating system. Instead of proliferating things like SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a package can say: EMUL_REQD= suse>=9.1 netbsd>=2.0 solaris>=10 all in one, succinct line. @ text @d1 1 a1 1 # $NetBSD: netbsd-compat.mk,v 1.1 2007/08/21 22:49:33 jlam Exp $ d41 1 d73 3 @ 1.1 log @* Support netbsd-* as a valid platform in EMUL_PLATFORMS. Use the pkgsrc/emulator/compat* and pkgsrc/emulator/netbsd32_compat* packages to provide the necessary shared libraries to run dynamically linked NetBSD binaries from the days of yore. * Add some additional compat* packages for completeness: compat15, compat20, compat30 * Modify the compat* packages so that "compatNM" only provides files that aren't in "NetBSD-N.(M+1)". For example, compat12 only provides files that don't exist in NetBSD-1.3.x, compat13 only provides files that don't exist in NetBSD-1.4.x, etc. As a result, if you are running NetBSD-3.0/alpha and want to run a 1.3 dynamically linked binary, there is an automatic dependency chain that causes the following packages to be installed: compat13, compat14, compat15, compat16, compat20 There are some deviations from this dependency chain on platforms that have changed executable formats, e.g. i386, m68, sparc, etc. However, in general pkgsrc will require that you have the necessary COMPAT_* options in your kernel to match the installed compat* packages. This restriction is an artificial one imposed by pkgsrc, but allows for a single set of distfiles to be used on all versions of NetBSD. * Provide compat* package support for every supported architecture of NetBSD. Verily, it is now possible to run 1.2 binaries on NetBSD-1.5.3/pc532 by installing the compat12 package from pkgsrc. Rejoice, one and all! * The netbsd32_compat* packages mirror the corresponding compat* packages for use by sparc64 and x86_64 to allow running 32-bit binaries with COMPAT_NETBSD32 kernel support. The "extras" packages supply the additional shared libraries from the corresponding release of NetBSD so that the set of files in /emul/netbsd32 will be complete. * pkgsrc/emulators/compat_netbsd contains infrastructure files shared by all of the compat* packages. @ text @d1 1 a1 1 # $NetBSD$ d18 4 @