emulators/compat15-extras: fix symbolic link Fix symbolic link for libtermlib. Bump PKGREVISION.diff -r1.6 -r1.7 pkgsrc/emulators/compat15-extras/Makefile
(taca)
@@ -1,32 +1,33 @@ | @@ -1,32 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2020/01/18 23:30:48 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2021/05/10 14:24:47 taca Exp $ | |
2 | 2 | |||
3 | COMPAT_PKG= compat15 # for compat_netbsd/Makefile.common | 3 | COMPAT_PKG= compat15 # for compat_netbsd/Makefile.common | |
4 | NETBSD_VERSION= 1.5 | 4 | NETBSD_VERSION= 1.5 | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 2 | |
6 | 6 | |||
7 | HOMEPAGE= https://www.NetBSD.org/releases/formal-1.5/index.html | 7 | HOMEPAGE= https://www.NetBSD.org/releases/formal-1.5/index.html | |
8 | COMMENT= Additional shared libraries for NetBSD 1.5 compatibility | 8 | COMMENT= Additional shared libraries for NetBSD 1.5 compatibility | |
9 | 9 | |||
10 | EMUL_PLATFORMS= netbsd-i386 netbsd-sparc | 10 | EMUL_PLATFORMS= netbsd-i386 netbsd-sparc | |
11 | 11 | |||
12 | .include "../../emulators/compat_netbsd/Makefile.common" | 12 | .include "../../emulators/compat_netbsd/Makefile.common" | |
13 | 13 | |||
14 | DISTNAME= compat15-extras-${EMUL_ARCH}-1.5.3 | 14 | DISTNAME= compat15-extras-${EMUL_ARCH}-1.5.3 | |
15 | 15 | |||
16 | # This package should only be installed for COMPAT_NETBSD32 emulation | 16 | # This package should only be installed for COMPAT_NETBSD32 emulation | |
17 | # on machines running NetBSD-1.5. | 17 | # on machines running NetBSD-1.5. | |
18 | # | 18 | # | |
19 | .if defined(NETBSD_COMPAT32) | 19 | .if defined(NETBSD_COMPAT32) | |
20 | ACCEPTABLE_NETBSD= NetBSD-1.4[A-Z]* NetBSD-1.5 NetBSD-1.5.* | 20 | ACCEPTABLE_NETBSD= NetBSD-1.4[A-Z]* NetBSD-1.5 NetBSD-1.5.* | |
21 | .else | 21 | .else | |
22 | NOT_FOR_PLATFORM= NetBSD-*-${MACHINE_ARCH} | 22 | NOT_FOR_PLATFORM= NetBSD-*-${MACHINE_ARCH} | |
23 | .endif | 23 | .endif | |
24 | 24 | |||
25 | .if ${EMUL_ARCH} == "i386" | 25 | .if ${EMUL_ARCH} == "i386" | |
26 | post-extract: | 26 | post-extract: | |
27 | cd ${WRKSRC}/usr/lib && mv libtermlib.so.0.0 libtermlib.so.0.4 | 27 | cd ${WRKSRC}/usr/lib && rm -f libtermlib.so.0.0 && \ | |
28 | ln -fs libtermcap.so.0.4 libtermlib.so.0.4 | |||
28 | .endif | 29 | .endif | |
29 | 30 | |||
30 | CHECK_RELRO_SKIP+= * | 31 | CHECK_RELRO_SKIP+= * | |
31 | 32 | |||
32 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |