mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Framework: try to install missing packages on package target
(cherry picked from commit22dbe9eacd) (cherry picked from commit6c95a32340)
This commit is contained in:
parent
d22badec85
commit
059b7aa2ae
1 changed files with 4 additions and 0 deletions
|
|
@ -199,7 +199,11 @@ PKGDIR?=${WRKDIR}/pkg
|
|||
package: check
|
||||
@rm -rf ${WRKSRC}
|
||||
@mkdir -p ${WRKSRC} ${PKGDIR}
|
||||
.if !empty(PLUGIN_DEPENDS)
|
||||
@${PKG} install -yA ${PLUGIN_DEPENDS}
|
||||
.endif
|
||||
@${MAKE} DESTDIR=${WRKSRC} FLAVOUR=${FLAVOUR} metadata
|
||||
@${PKG} autoremove -y
|
||||
@${MAKE} DESTDIR=${WRKSRC} FLAVOUR=${FLAVOUR} install
|
||||
@${PKG} create -v -m ${WRKSRC} -r ${WRKSRC} \
|
||||
-p ${WRKSRC}/plist -o ${PKGDIR}
|
||||
|
|
|
|||
Loading…
Reference in a new issue