summaryrefslogtreecommitdiff
path: root/emulators/compat15-extras/Makefile
blob: 55d66a170da9e2a0eed5f9ee5c310a3671dfc6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.6 2020/01/18 23:30:48 rillig Exp $

COMPAT_PKG=		compat15	# for compat_netbsd/Makefile.common
NETBSD_VERSION=		1.5
PKGREVISION=		1

HOMEPAGE=		https://www.NetBSD.org/releases/formal-1.5/index.html
COMMENT=		Additional shared libraries for NetBSD 1.5 compatibility

EMUL_PLATFORMS=		netbsd-i386 netbsd-sparc

.include "../../emulators/compat_netbsd/Makefile.common"

DISTNAME=		compat15-extras-${EMUL_ARCH}-1.5.3

# This package should only be installed for COMPAT_NETBSD32 emulation
# on machines running NetBSD-1.5.
#
.if defined(NETBSD_COMPAT32)
ACCEPTABLE_NETBSD=	NetBSD-1.4[A-Z]* NetBSD-1.5 NetBSD-1.5.*
.else
NOT_FOR_PLATFORM=	NetBSD-*-${MACHINE_ARCH}
.endif

.if ${EMUL_ARCH} == "i386"
post-extract:
	cd ${WRKSRC}/usr/lib && mv libtermlib.so.0.0 libtermlib.so.0.4
.endif

CHECK_RELRO_SKIP+=	*

.include "../../mk/bsd.pkg.mk"