summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 14:32:55 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 16:37:03 (GMT)
commitc26f83a3f04f3281bb4431a1c4ac9a6f7dc55b84 (patch)
tree3bc85104595a6b35c9472bab5fc3f890feb64900 /BSDmakefile
parent89192ea453b664cabb05b0a3037269bf02c3fae2 (diff)
Fix BSD make
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'BSDmakefile')
-rw-r--r--BSDmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/BSDmakefile b/BSDmakefile
index 843c414..86b6741 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"