summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'BSDmakefile')
-rw-r--r--BSDmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/BSDmakefile b/BSDmakefile
index 843c4146a..86b674100 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -5,6 +5,10 @@ ADKVERSION= 0.1.0
TOPDIR= ${.CURDIR}
PWD= ${.CURDIR}
+.include "${.CURDIR}/Makefile.inc"
+
+GMAKE_ENV+= ADKVERSION=${ADKVERSION:Q}
+
.if defined(package) && !empty(package)
subdir:= package/${package}
. if !make(clean)
@@ -22,7 +26,7 @@ _subdir: ${_subdir_dep}
exit 1; \
fi
cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
- gmake VERBOSE=1 ${.MFLAGS} ${_subdir}
+ ${GMAKE} VERBOSE=1 ${.MFLAGS} ${_subdir}
. include "${.CURDIR}/prereq.mk"
. include "${.CURDIR}/mk/split-cfg.mk"