Add a forgotten helper:
${OPT}_CMAKE_ON and ${OPT}_CMAKE_OFF
This commit is contained in:
parent
b876916186
commit
0e8027e93f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320926
6
CHANGES
6
CHANGES
|
@ -41,6 +41,12 @@ AUTHOR: bapt@FreeBSD.org
|
|||
|
||||
${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'
|
||||
|
||||
${OPT}_CMAKE_ON=<something> will automatically add:
|
||||
CMAKE_ARGS+=<something> in case OPT is activated
|
||||
|
||||
${OPT_CMAKE_OFF=<something> will automatically add:
|
||||
CMAKE_ARGS+=<something> in case OPT is deactivated
|
||||
|
||||
20130614:
|
||||
AUTHOR: bapt@FreeBSD.org
|
||||
|
||||
|
|
|
@ -309,6 +309,9 @@ CONFIGURE_ARGS+= --enable-${${opt}_CONFIGURE_ENABLE}
|
|||
. if defined(${opt}_CONFIGURE_ON)
|
||||
CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ON}
|
||||
. endif
|
||||
. if defined(${opt}_CMAKE_ON)
|
||||
CMAKE_ARGS+= ${${opt}_CMAKE_ON}
|
||||
. endif
|
||||
. for flags in CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES
|
||||
. if defined(${opt}_${flags})
|
||||
${flags}+= ${${opt}_${flags}}
|
||||
|
@ -326,6 +329,9 @@ CONFIGURE_ARGS+= --disable-${${opt}_CONFIGURE_ENABLE}
|
|||
. if defined(${opt}_CONFIGURE_OFF)
|
||||
CONFIGURE_ARGS+= ${${opt}_CONFIGURE_OFF}
|
||||
. endif
|
||||
. if defined(${opt}_CMAKE_OFF)
|
||||
CMAKE_ARGS+= ${${opt}_CMAKE_OFF}
|
||||
. endif
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user