Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2021 18:34:00 GMT
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c6520cdf0a4d - main - multimedia/motion: Remove KMODDIR
Message-ID:  <202105011834.141IY0ui077512@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c6520cdf0a4dba6f81153b0b204824b3f8552eb6

commit c6520cdf0a4dba6f81153b0b204824b3f8552eb6
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-05-01 05:54:17 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-05-01 17:55:52 +0000

    multimedia/motion: Remove KMODDIR
    
    While this is technically fine, there is no reason to set it just
    for the dependency check.
    
    Reported by:    portscan (KMODDIR without USES=kmod)
---
 multimedia/motion/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index f2757c18cc3f..82a50200dbe9 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -21,10 +21,6 @@ LIB_DEPENDS=	libwebp.so:graphics/webp \
 # USES block
 USES=		autoreconf gmake jpeg localbase pkgconfig gettext
 
-KMODDIR?=	/boot/modules
-.if ${KMODDIR} == /boot/kernel
-KMODDIR=	/boot/modules
-.endif
 USE_GITHUB=	yes
 GH_ACCOUNT=	Motion-Project
 USE_RC_SUBR=	${PORTNAME}
@@ -75,7 +71,7 @@ PGSQL_CONFIGURE_ON=	--with-pgsql-lib=${LOCALBASE}/lib \
 PGSQL_CONFIGURE_OFF=	--without-pgsql
 
 PWCBSD_BUILD_DEPENDS=	v4l_compat>=1.0.20060801:multimedia/v4l_compat
-PWCBSD_RUN_DEPENDS=	${KMODDIR}/pwc.ko:multimedia/pwcbsd
+PWCBSD_RUN_DEPENDS=	pwcbsd>0:multimedia/pwcbsd
 PWCBSD_CONFIGURE_WITH=	pwcbsd
 
 SQLITE3_USES=		sqlite:3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105011834.141IY0ui077512>