summaryrefslogtreecommitdiff
path: root/BSDmakefile
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 15:31:55 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 17:37:03 +0100
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 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"