aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-01-26 22:37:25 +0000
committerRene Ladan <rene@FreeBSD.org>2014-01-26 22:37:25 +0000
commitc0f138b9a724ce53eca77bab8fd63d42db80feaf (patch)
treeb977e8bd707059b05e8a3b1b7fb24e245551bb81
parenta4821a49d3f62f7855d3005629aac2d962c0e620 (diff)
downloadports-c0f138b9a724ce53eca77bab8fd63d42db80feaf.tar.gz
ports-c0f138b9a724ce53eca77bab8fd63d42db80feaf.zip
Notes
-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>