aboutsummaryrefslogtreecommitdiffstats
path: root/net/isboot-kmod/Makefile
blob: 39d26a262f05615d2121c99a6bdca8e7a2bb61bc (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
# $FreeBSD$

PORTNAME=   isboot-kmod
PORTVERSION=    0.2.13
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://www.peach.ne.jp/archives/isboot/
DISTNAME=   isboot-${PORTVERSION}

MAINTAINER= john@jnielsen.net
COMMENT=    Kernel module enabling iSCSI boot

LICENSE=    BSD2CLAUSE

BROKEN_aarch64=     fails to compile: /usr/src/sys/sys/bus.h:724:10: fatal error: 'device_if.h' file not found
BROKEN_armv6=       fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99
BROKEN_armv7=       fails to compile: /usr/src/sys/sys/bus.h:724:10: fatal error: 'device_if.h' file not found
BROKEN_FreeBSD_12=  no member named 'tqh_first' in 'struct ifnethead'
BROKEN_FreeBSD_13=  no member named 'tqh_first' in 'struct ifnethead'

USES=       kmod uidfix
SUB_FILES=  pkg-message
WRKSRC_SUBDIR=  src
PLIST_FILES=    ${KMODDIR}/isboot.ko
PORTDOCS=   README

OPTIONS_DEFINE= DOCS VIMAGE
VIMAGE_DESC=    Build for a kernel with 'options VIMAGE'
VIMAGE_CFLAGS=  -DVIMAGE

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKDIR}/${DISTNAME} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>