1 # $NetBSD: Makefile,v 1.22 2007/08/30 16:54:07 jlam Exp $
3 COMPAT_PKG
= compat14
# for compat_netbsd/Makefile.common
7 CONFLICTS
= compat14-crypto-
[0-9]*
9 HOMEPAGE
= http
://www.NetBSD.org
/releases
/formal-1.4
/index.html
10 COMMENT
= Shared libraries for NetBSD
1.4 compatibility
12 EMUL_PLATFORMS
= netbsd-alpha netbsd-arm netbsd-i386 netbsd-m68k \
13 netbsd-mipsel netbsd-ns32k netbsd-powerpc \
14 netbsd-sparc netbsd-vax
16 ONLY_FOR_PLATFORM
= NetBSD-1.4
[A-Z
]*-* NetBSD-1.
[5-9]*-* \
17 NetBSD-
[2-9]*-* NetBSD-
[1-9][0-9]*-*
19 .
include "../../emulators/compat_netbsd/Makefile.common"
21 .if
(${EMUL_PLATFORM} == "netbsd-ns32k")
22 DISTNAME
= compat14-
${EMUL_ARCH}-1.4.2
23 .elif
(${EMUL_PLATFORM} == "netbsd-i386") || \
24 (${EMUL_PLATFORM} == "netbsd-sparc")
25 DISTNAME
= compat14-
${EMUL_ARCH}-1.4.3.1
27 DISTNAME
= compat14-
${EMUL_ARCH}-1.4.3
30 # For COMPAT_NETBSD32, we need to depend on the compat15 package to supply
31 # /usr/libexec/ld.so (either directly or indirectly) so that the a.out
32 # shared libraries can be used.
34 .if
((${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")) || \
35 ((${EMUL_ARCH} == "sparc") && (${MACHINE_ARCH} == "sparc64"))
36 DEPENDS
+= netbsd32_compat15
>=1.5:..
/..
/emulators
/netbsd32_compat15
38 # i386 and sparc switched from a.out to ELF after NetBSD-1.4, and
39 # they don't need any other packages to supply missing a.out shared
42 .elif
(${EMUL_ARCH} == "i386") ||
(${EMUL_ARCH} == "sparc")
43 #DEPENDS+= # no additional dependencies
45 # We need to depend on the compat15 package to supply shared libraries
46 # missing from compat14 on NetBSD>1.5.
48 .elif empty
(OS_VERSION
:M0.
[0-9]*) && empty
(OS_VERSION
:M1.
[0-4]*) && \
49 empty
(OS_VERSION
:M1.5
) && empty
(OS_VERSION
:M1.5.
*)
50 DEPENDS
+= compat15
>=1.5:..
/..
/emulators
/compat15
53 .
include "../../mk/bsd.pkg.mk"