aboutsummaryrefslogtreecommitdiffstats
path: root/comms/uartlirc/Makefile
blob: c01b1201e803464fa4d12ff6bb0eb8cce72a7397 (plain) (blame)
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
33
34
35
36
37
38
# Created by: nox@FreeBSD.org

PORTNAME=   uartlirc
PORTVERSION=    0.3
PORTREVISION=   2
CATEGORIES= comms
MASTER_SITES=   LOCAL/nox \
        http://people.freebsd.org/~nox/tmp/
DISTNAME=   ${PORTNAME}-preliminary-003
EXTRACT_SUFX=   .shar

MAINTAINER= ports@FreeBSD.org
COMMENT=    Driver for "homebrew" serial LIRC receivers

BROKEN_aarch64=     fails to compile: uartlirc_core.c:273:19: expected expression
BROKEN_armv6=       fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
BROKEN_powerpc64=   fails to compile: uart.h: No such file or directory
BROKEN_powerpc64le= fails to compile: uart.h: No such file or directory
BROKEN_riscv64=     fails to compile: uartlirc_core.c:273:19: expected expression
BROKEN_sparc64=     fails to build
BROKEN_FreeBSD_13=  fails to compile: uartlirc_bus_scc.c:101:7: use of undeclared identifier 'SCC_CLASS_SAB82532'
BROKEN_FreeBSD_14=  fails to compile: uartlirc_bus_scc.c:101:7: use of undeclared identifier 'SCC_CLASS_SAB82532'

USES=       kmod

WRKSRC=     ${WRKDIR}/${PORTNAME}
EXTRACT_CMD=    ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=

PLIST_FILES+=   ${KMODDIR}/${PORTNAME}.ko

CFLAGS+=    ${DEBUG_FLAGS}

do-install:
    ${INSTALL} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR}

.include <bsd.port.mk>