Install ports defined in PORTS_MODULES at make reinstall time too.

Reviewed by:	imp
This commit is contained in:
Maxime Henrion 2005-06-05 18:34:16 +00:00
parent c032a2803f
commit 5c25ebd529
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147011

View file

@ -35,11 +35,11 @@ SYSDIR= ${_dir}
.endif
.endfor
PORTSMODULESENV=SYSDIR=${SYSDIR}
.for __target in all install clean
.for __target in all install reinstall clean
${__target}: ports-${__target}
ports-${__target}:
.for __i in ${PORTS_MODULES}
cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/install/deinstall reinstall/}
cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/install/deinstall reinstall/:C/reinstall/deinstall reinstall/}
.endfor
.endfor
.endif