aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cuse4bsd-kmod
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/cuse4bsd-kmod')
-rw-r--r--multimedia/cuse4bsd-kmod/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/multimedia/cuse4bsd-kmod/Makefile b/multimedia/cuse4bsd-kmod/Makefile
index 4506fd9bfb23..d5df646c867d 100644
--- a/multimedia/cuse4bsd-kmod/Makefile
+++ b/multimedia/cuse4bsd-kmod/Makefile
@@ -27,9 +27,7 @@ PLIST_SUB= KMODNAME="${KMODNAME}" \
OPTIONS_DEFINE= DEBUG
-NO_STAGE= yes
-
-USES= kmod
+USES= kmod uidfix
.include <bsd.port.options.mk>
MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
@@ -39,7 +37,7 @@ MAKE_ARGS+=" HAVE_DEBUG=YES"
.endif
do-install:
- ${MAKE} -C ${WRKSRC} -f ${WRKSRC}/Makefile.lib ${PLIST_SUB} install
- ${INSTALL_KLD} ${WRKSRC}/${KMODNAME}.ko ${KMODDIR}
+ ${SETENV} ${MAKE_ENV} DESTDIR="${STAGEDIR}" ${MAKE} -C ${WRKSRC} -f ${WRKSRC}/Makefile.lib ${PLIST_SUB} install
+ ${INSTALL_KLD} ${WRKSRC}/${KMODNAME}.ko ${STAGEDIR}${KMODDIR}
.include <bsd.port.mk>