Properly call MAKE_CMD

This commit is contained in:
Baptiste Daroussin 2014-06-24 22:38:40 +00:00
parent 1a44d374f1
commit c0143b781d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359155

View file

@ -70,12 +70,12 @@ post-patch:
post-build:
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Building docs"
@(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} doc)
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} doc)
.endif
post-install:
.if ${PORT_OPTIONS:MTCL}
@(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} install-tcl)
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-tcl)
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/sqlite
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}