diff options
Diffstat (limited to 'multimedia/pwcbsd')
-rw-r--r-- | multimedia/pwcbsd/Makefile | 4 | ||||
-rw-r--r-- | multimedia/pwcbsd/pkg-plist | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile index db93a660da8d..a8bd00b26f73 100644 --- a/multimedia/pwcbsd/Makefile +++ b/multimedia/pwcbsd/Makefile @@ -19,9 +19,9 @@ CONFLICTS= pwcview-[0-9]* SSP_UNSAFE= kernel module does not support ssp -WRKSRC= ${WRKDIR}/${PORTNAME} +USES= kmod -PLIST_SUB= KMODDIR=${KMODDIR} +WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= PROGRAMS MMAP OPTIONS_DEFAULT= PROGRAMS diff --git a/multimedia/pwcbsd/pkg-plist b/multimedia/pwcbsd/pkg-plist index 221437273d99..7be436af5e88 100644 --- a/multimedia/pwcbsd/pkg-plist +++ b/multimedia/pwcbsd/pkg-plist @@ -1,7 +1,4 @@ %%PROGRAMS%%bin/pwcview %%PROGRAMS%%man/man1/pwcview.1.gz man/man4/pwc.4.gz -@cwd / -%%KMODDIR%%/pwc.ko -@exec kldxref %D -@unexec kldxref %D +/%%KMODDIR%%/pwc.ko |