aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/magic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 4064a70dcd8f..e6b71af613d8 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -50,7 +50,7 @@ post-patch:
's|^#!.*|#!${WISH}|' ${WRKSRC}/tcltk/tkshell.tcl
pre-build:
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} database/database.h)
.include <bsd.port.post.mk>