mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
- Allow staging as a regular user
- Remove things already provided by USES=kmod
This commit is contained in:
parent
deb12dd501
commit
e5e52ce665
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370610
@ -15,11 +15,9 @@ LIB_DEPENDS= libjson-c.so:${PORTSDIR}/devel/json-c
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libezxml.a:${PORTSDIR}/textproc/ezxml \
|
||||
libtuner>=1.1.2:${PORTSDIR}/multimedia/libtuner
|
||||
|
||||
KMODDIR= /boot/modules
|
||||
PLIST_SUB+= KMODDIR=${KMODDIR}
|
||||
MAKE_ARGS+= LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR} PREFIX=${STAGEDIR}${PREFIX}
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
USES= kmod pkgconfig readline
|
||||
USES= kmod pkgconfig readline uidfix
|
||||
|
||||
OPTIONS_DEFINE= DEBUG LINUX_COMPAT HAL
|
||||
|
||||
@ -48,10 +46,6 @@ MAKE_ARGS+= -D WITH_HAL
|
||||
|
||||
MAKE_ARGS+= DEFAULT_XML_CONFIG="${EXAMPLESDIR}/cx88.xml.sample"
|
||||
|
||||
.if (${OSVERSION} < 802513) || ((${OSVERSION} >= 900000) && (${OSVERSION} < 900041))
|
||||
IGNORE= requires kernel support for DRIVER_MODULE_ORDERED macro (FreeBSD 8.3+, FreeBSD 9.0+)
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|install cx88 |install -s cx88 |g' ${WRKSRC}/client/Makefile
|
||||
|
||||
|
@ -14,21 +14,15 @@ include/cx88/cx88_common_ioctl.h
|
||||
include/cx88/cx88_mpeg_ioctl.h
|
||||
include/cx88/cx88_video_ioctl.h
|
||||
include/cx88/cx88_audio_ioctl.h
|
||||
@dirrm include/iicdev
|
||||
@dirrm include/cx88
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@cwd %%KMODDIR%%
|
||||
cx88.ko
|
||||
cx88i2c.ko
|
||||
iicdev.ko
|
||||
cx88ir.ko
|
||||
cx88mpegcore.ko
|
||||
cx88mpeg.ko
|
||||
cx88video.ko
|
||||
cx88audiocore.ko
|
||||
cx88audio.ko
|
||||
cx23885.ko
|
||||
cx23885av.ko
|
||||
cx23885avfw.ko
|
||||
@exec kldxref %D
|
||||
@unexec kldxref %D
|
||||
/%%KMODDIR%%/cx88.ko
|
||||
/%%KMODDIR%%/cx88i2c.ko
|
||||
/%%KMODDIR%%/iicdev.ko
|
||||
/%%KMODDIR%%/cx88ir.ko
|
||||
/%%KMODDIR%%/cx88mpegcore.ko
|
||||
/%%KMODDIR%%/cx88mpeg.ko
|
||||
/%%KMODDIR%%/cx88video.ko
|
||||
/%%KMODDIR%%/cx88audiocore.ko
|
||||
/%%KMODDIR%%/cx88audio.ko
|
||||
/%%KMODDIR%%/cx23885.ko
|
||||
/%%KMODDIR%%/cx23885av.ko
|
||||
/%%KMODDIR%%/cx23885avfw.ko
|
||||
|
Loading…
Reference in New Issue
Block a user