| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.26 2022/10/01 15:09:02 wiz Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.27 2022/12/19 18:14:57 tron Exp $ |
2 | # | | 2 | # |
3 | # used by emulators/suse131_alsa/Makefile | | 3 | # used by emulators/suse131_alsa/Makefile |
4 | # used by emulators/suse131_aspell/Makefile | | 4 | # used by emulators/suse131_aspell/Makefile |
5 | # used by emulators/suse131_base/Makefile | | 5 | # used by emulators/suse131_base/Makefile |
6 | # used by emulators/suse131_binutils/Makefile | | 6 | # used by emulators/suse131_binutils/Makefile |
7 | # used by emulators/suse131_compat/Makefile | | 7 | # used by emulators/suse131_compat/Makefile |
8 | # used by emulators/suse131_cyrus-sasl/Makefile | | 8 | # used by emulators/suse131_cyrus-sasl/Makefile |
9 | # used by emulators/suse131_dbus-glib/Makefile | | 9 | # used by emulators/suse131_dbus-glib/Makefile |
10 | # used by emulators/suse131_expat/Makefile | | 10 | # used by emulators/suse131_expat/Makefile |
11 | # used by emulators/suse131_fontconfig/Makefile | | 11 | # used by emulators/suse131_fontconfig/Makefile |
12 | # used by emulators/suse131_freetype2/Makefile | | 12 | # used by emulators/suse131_freetype2/Makefile |
13 | # used by emulators/suse131_glib2/Makefile | | 13 | # used by emulators/suse131_glib2/Makefile |
14 | # used by emulators/suse131_glx/Makefile | | 14 | # used by emulators/suse131_glx/Makefile |
| @@ -52,31 +52,33 @@ | | | @@ -52,31 +52,33 @@ |
52 | | | 52 | |
53 | SUSE_PKG= yes | | 53 | SUSE_PKG= yes |
54 | SUSE_VERSION= 13.1 | | 54 | SUSE_VERSION= 13.1 |
55 | EMUL_REQD= suse>=${SUSE_VERSION} | | 55 | EMUL_REQD= suse>=${SUSE_VERSION} |
56 | | | 56 | |
57 | # The SuSE 13.x Linux packages are only usable on the following platforms. | | 57 | # The SuSE 13.x Linux packages are only usable on the following platforms. |
58 | # The SUSE_COMPAT32 packages are available only on x86_64 and they emulate i386. | | 58 | # The SUSE_COMPAT32 packages are available only on x86_64 and they emulate i386. |
59 | # The non-SUSE_COMPAT32 packages are available on both i386 and x86_64 | | 59 | # The non-SUSE_COMPAT32 packages are available on both i386 and x86_64 |
60 | # and they emulate the corresponding linux platform. | | 60 | # and they emulate the corresponding linux platform. |
61 | .if !defined(SUSE_COMPAT32) | | 61 | .if !defined(SUSE_COMPAT32) |
62 | EMUL_PLATFORMS+= linux-x86_64 | | 62 | EMUL_PLATFORMS+= linux-x86_64 |
63 | ONLY_FOR_PLATFORM+= NetBSD-5.99*-i386 | | 63 | ONLY_FOR_PLATFORM+= NetBSD-5.99*-i386 |
64 | ONLY_FOR_PLATFORM+= NetBSD-[6-9]*-i386 | | 64 | ONLY_FOR_PLATFORM+= NetBSD-[6-9]*-i386 |
| | | 65 | ONLY_FOR_PLATFORM+= NetBSD-[1-9][0-9].*-i386 |
65 | ONLY_FOR_PLATFORM+= FreeBSD-*-i386 | | 66 | ONLY_FOR_PLATFORM+= FreeBSD-*-i386 |
66 | .endif | | 67 | .endif |
67 | EMUL_PLATFORMS+= linux-i386 | | 68 | EMUL_PLATFORMS+= linux-i386 |
68 | ONLY_FOR_PLATFORM+= NetBSD-6.99*-x86_64 | | 69 | ONLY_FOR_PLATFORM+= NetBSD-6.99*-x86_64 |
69 | ONLY_FOR_PLATFORM+= NetBSD-[7-9]*-x86_64 | | 70 | ONLY_FOR_PLATFORM+= NetBSD-[7-9]*-x86_64 |
| | | 71 | ONLY_FOR_PLATFORM+= NetBSD-[1-9][0-9].*-x86_64 |
70 | ONLY_FOR_PLATFORM+= FreeBSD-1[0-9]*-x86_64 | | 72 | ONLY_FOR_PLATFORM+= FreeBSD-1[0-9]*-x86_64 |
71 | | | 73 | |
72 | CHECK_PIE_SUPPORTED= no | | 74 | CHECK_PIE_SUPPORTED= no |
73 | CHECK_RELRO_SUPPORTED= no | | 75 | CHECK_RELRO_SUPPORTED= no |
74 | | | 76 | |
75 | .include "../../mk/bsd.prefs.mk" | | 77 | .include "../../mk/bsd.prefs.mk" |
76 | | | 78 | |
77 | # _SUSE_ARCH.* is a table of ${EMUL_ARCH} to SuSE architectures. | | 79 | # _SUSE_ARCH.* is a table of ${EMUL_ARCH} to SuSE architectures. |
78 | _SUSE_ARCH.${EMUL_ARCH}= ${EMUL_ARCH} | | 80 | _SUSE_ARCH.${EMUL_ARCH}= ${EMUL_ARCH} |
79 | _SUSE_ARCH.i386= i586 | | 81 | _SUSE_ARCH.i386= i586 |
80 | _SUSE_ARCH= ${_SUSE_ARCH.${EMUL_ARCH}} | | 82 | _SUSE_ARCH= ${_SUSE_ARCH.${EMUL_ARCH}} |
81 | SUSE_ARCH= ${_SUSE_ARCH} | | 83 | SUSE_ARCH= ${_SUSE_ARCH} |
82 | | | 84 | |