mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
plugins: conditional falling appart, better hide under relevant section #4202
This commit is contained in:
parent
4867a75d30
commit
560e310166
1 changed files with 1 additions and 2 deletions
|
|
@ -69,8 +69,6 @@ PLUGIN_SUFFIX?= -devel
|
|||
|
||||
.if !empty(PLUGIN_VARIANTS)
|
||||
PLUGIN_VARIANT?= ${PLUGIN_VARIANTS:[1]}
|
||||
.endif
|
||||
|
||||
.if "${PLUGIN_VARIANT}" == ""
|
||||
.error Plugin variant cannot be empty
|
||||
.else
|
||||
|
|
@ -83,6 +81,7 @@ PLUGIN_CONFLICTS+= ${${_PLUGIN_VARIANT}_NAME}
|
|||
.endfor
|
||||
PLUGIN_DEPENDS+= ${${PLUGIN_VARIANT}_DEPENDS}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !empty(PLUGIN_NAME)
|
||||
PLUGIN_DIR?= ${.CURDIR:S/\// /g:[-2]}/${.CURDIR:S/\// /g:[-1]}
|
||||
|
|
|
|||
Loading…
Reference in a new issue