View | Details | Raw Unified | Return to bug 247787 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/iichid/Makefile (-12 / +16 lines)
Lines 2-34 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	iichid
4
PORTNAME=	iichid
5
DISTVERSION=	0.0.1
5
DISTVERSION=	0.0.3
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
7
8
MAINTAINER=	imp@FreeBSD.org
8
MAINTAINER=	imp@FreeBSD.org
9
COMMENT=	Generic FreeBSD HID layer for I2C and USB devices
9
COMMENT=	Generic FreeBSD HID layer for I2C and USB devices
10
10
11
LICENSE=	BSD2CLAUSE
11
LICENSE=	BSD2CLAUSE
12
#LICENSE_FILE=	Not yet packaged
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
IGNORE_FreeBSD_11=	Requires FreeBSD 12.1 or later
14
IGNORE_FreeBSD_11=	Requires FreeBSD 12.1 or later
15
ONLY_FOR_ARCHS=		aarch64 amd64 i386
15
ONLY_FOR_ARCHS=	aarch64 amd64 i386
16
ONLY_FOR_ARCHS_REASON=	Requires architecture supporting ACPI
16
ONLY_FOR_ARCHS_REASON=	I2C transport requires architecture supporting ACPI
17
17
18
USES=	kmod uidfix
18
USES=		kmod uidfix
19
19
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
21
22
GH_ACCOUNT=	wulf7
22
GH_ACCOUNT=	wulf7
23
23
24
# Strip -Werror from sys/conf/kmod.mk
25
MAKE_ENV=	WERROR=""
26
27
PLIST_FILES=	${KMODDIR}/iichid.ko
24
PLIST_FILES=	${KMODDIR}/iichid.ko
28
25
29
# USB backend is not yet complete and
26
# USB backend is disabled by default as it interferes with existing USB drivers
30
# interferes with existing USB drivers
27
OPTIONS_DEFINE=		DEBUG I2C USB
31
post-patch:
28
OPTIONS_DEFAULT=	I2C
32
	${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile
29
I2C_DESC=		HID over I2C support
30
USB_DESC=		HID over USB support
31
32
I2C_MAKE_ARGS_OFF=	-DDISABLE_I2CHID
33
USB_MAKE_ARGS_OFF=	-DDISABLE_USBHID
34
35
post-patch-DEBUG-off:
36
	${REINPLACE_CMD} -e '/iichid_debug =/s/1/0/' ${WRKSRC}/iichid.c
33
37
34
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)sysutils/iichid/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1581662226
1
TIMESTAMP = 1594041772
2
SHA256 (wulf7-iichid-0.0.1_GH0.tar.gz) = 282540487df1eb3f202f7beb440f68f43801662cb8f817931f09879c1f007a98
2
SHA256 (wulf7-iichid-0.0.3_GH0.tar.gz) = a548af4c2bfd121ec766d4203c70900b256a4b6e99cf4d9f643b9cfc8818efc7
3
SIZE (wulf7-iichid-0.0.1_GH0.tar.gz) = 51001
3
SIZE (wulf7-iichid-0.0.3_GH0.tar.gz) = 88651
(-)sysutils/iichid/pkg-message (+6 lines)
Lines 1-5 Link Here
1
[
2
{ type: install
3
  message: <<EOM
1
iichid is currently in-development and EXPERIMENTAL. This port provides
4
iichid is currently in-development and EXPERIMENTAL. This port provides
2
an easy and quick method for users to test this code to encourage early
5
an easy and quick method for users to test this code to encourage early
3
testing, feedback and bug reports.
6
testing, feedback and bug reports.
4
7
5
Please report successes and issues to: https://github.com/wulf7/iichid
8
Please report successes and issues to: https://github.com/wulf7/iichid
9
EOM
10
}
11
]

Return to bug 247787