msrc_base: rebuild mmsrc to pick up CFLAGS and HXMD_LIB.

This commit is contained in:
Christian Neukirchen 2015-09-04 12:13:15 +02:00
parent 9468650404
commit 74a30732ee
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'msrc_base'
pkgname=msrc_base
version=2.44
revision=1
revision=2
hostmakedepends="m4"
depends="m4 make"
short_desc="The pundits tool-chain from the NPC Guild (xapply etc.)"
@ -38,6 +38,7 @@ do_install() {
make -C local/sbin/mmsrc -e clean boot
vbin local/sbin/mmsrc/mmsrc
make -C local/sbin/mmsrc -e clean
vmkdir usr/lib/explode
vmkdir usr/lib/hxmd
@ -48,11 +49,11 @@ do_install() {
for _dir in \
lib/hxmd lib/mkcmd lib/explode \
bin/mkcmd bin/explode bin/ptbw bin/xclate bin/xapply bin/wrapw \
sbin/msrc sbin/hxmd
sbin/msrc sbin/mmsrc sbin/hxmd
do (
cd $wrksrc/local/$_dir
mkdir -p $wrksrc/tmp/$_dir
$wrksrc/local/sbin/mmsrc/mmsrc \
mmsrc \
-y INTO=$wrksrc/tmp/$_dir \
-C $wrksrc/auto.cf \
-DHOST=localhost -DHOSTTYPE=$HOSTTYPE -DHOSTOS=$HOSTOS \