View | Details | Raw Unified | Return to bug 250591
Collapse All | Expand All

(-)emulators/Makefile (+1 lines)
Lines 61-66 Link Here
61
    SUBDIR += kcemu
61
    SUBDIR += kcemu
62
    SUBDIR += klh10
62
    SUBDIR += klh10
63
    SUBDIR += lib765
63
    SUBDIR += lib765
64
    SUBDIR += libc6-shim
64
    SUBDIR += libdsk
65
    SUBDIR += libdsk
65
    SUBDIR += libretro-ppsspp
66
    SUBDIR += libretro-ppsspp
66
    SUBDIR += libspectrum
67
    SUBDIR += libspectrum
(-)emulators/libc6-shim/Makefile (+49 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	libc6-shim
4
DISTVERSION=	20201024
5
CATEGORIES=	emulators
6
7
MAINTAINER=	iwtcex@gmail.com
8
COMMENT=	ABI-compatible glibc shim library
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
IGNORE_FreeBSD_11=not supported
14
ONLY_FOR_ARCHS=	amd64
15
16
USE_RUBY=	yes
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	shkhln
20
GH_PROJECT=	libc6-shim
21
GH_TAGNAME=	6b6fa76812f7cb9625e24f12af99fcb9c46a0719
22
23
post-patch:
24
	${REINPLACE_CMD} -e 's|../icds|../${DATADIR_REL}/icds|' ${WRKSRC}/bin/nv-sglrun
25
	${REINPLACE_CMD} -e 's|../lib64|../lib/${PORTNAME}|' -e 's|../lib32|../lib32/${PORTNAME}|' ${WRKSRC}/bin/with-glibc-shim
26
27
do-install:
28
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
29
	${MKDIR} ${STAGEDIR}${PREFIX}/lib32/${PORTNAME}
30
	${MKDIR} ${STAGEDIR}${DATADIR}/icds/ocl
31
	${MKDIR} ${STAGEDIR}${DATADIR}/icds/vk
32
	${INSTALL_SCRIPT} \
33
		${WRKSRC}/bin/nv-sglrun \
34
		${WRKSRC}/bin/with-glibc-shim \
35
		${STAGEDIR}${PREFIX}/bin
36
	${INSTALL_LIB} \
37
		${WRKSRC}/build/lib64/libc6*.so \
38
		${STAGEDIR}${PREFIX}/lib/${PORTNAME}
39
	${INSTALL_LIB} \
40
		${WRKSRC}/build/lib32/libc6*.so \
41
		${STAGEDIR}${PREFIX}/lib32/${PORTNAME}
42
	${INSTALL_DATA} \
43
		${WRKSRC}/icds/ocl/nv.icd \
44
		${STAGEDIR}${DATADIR}/icds/ocl
45
	${INSTALL_DATA} \
46
		${WRKSRC}/icds/vk/nv.json \
47
		${STAGEDIR}${DATADIR}/icds/vk
48
49
.include <bsd.port.mk>
(-)emulators/libc6-shim/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1603542639
2
SHA256 (shkhln-libc6-shim-20201024-6b6fa76812f7cb9625e24f12af99fcb9c46a0719_GH0.tar.gz) = 6885cd5f26441c2644852b62c83ba8c34253a2d24dd5dcb04f4eaaadc4293a1e
3
SIZE (shkhln-libc6-shim-20201024-6b6fa76812f7cb9625e24f12af99fcb9c46a0719_GH0.tar.gz) = 76397
(-)emulators/libc6-shim/pkg-descr (+5 lines)
Added Link Here
1
A shim library providing limited glibc ABI compatibility on top of FreeBSD libc.
2
It allows loading shared objects compiled on Linux and dynamically linked to
3
glibc into native FreeBSD processes.
4
5
WWW: https://github.com/shkhln/libc6-shim
(-)emulators/libc6-shim/pkg-plist (+8 lines)
Added Link Here
1
bin/nv-sglrun
2
bin/with-glibc-shim
3
lib/libc6-shim/libc6-debug.so
4
lib/libc6-shim/libc6.so
5
lib32/libc6-shim/libc6-debug.so
6
lib32/libc6-shim/libc6.so
7
%%DATADIR%%/icds/ocl/nv.icd
8
%%DATADIR%%/icds/vk/nv.json

Return to bug 250591