View | Details | Raw Unified | Return to bug 210576 | Differences between
and this patch

Collapse All | Expand All

(-)bsd.options.mk (+10 lines)
Lines 98-103 Link Here
98
# ${opt}_CMAKE_OFF		When option is disabled, it will add its content to
98
# ${opt}_CMAKE_OFF		When option is disabled, it will add its content to
99
#				the CMAKE_ARGS.
99
#				the CMAKE_ARGS.
100
#
100
#
101
# ${opt}_CMAKE_BOOL		Will add to CMAKE_ARGS:
102
#				Option enabled  -D${content}:BOOL=true
103
#				Option disabled -D${content}:BOOL=false
104
#
101
# ${opt}_QMAKE_ON		When option is enabled, it will add its content to
105
# ${opt}_QMAKE_ON		When option is enabled, it will add its content to
102
#				the QMAKE_ARGS.
106
#				the QMAKE_ARGS.
103
# ${opt}_QMAKE_OFF		When option is disabled, it will add its content to
107
# ${opt}_QMAKE_OFF		When option is disabled, it will add its content to
Lines 515-520 Link Here
515
.    if defined(${opt}_CONFIGURE_WITH)
519
.    if defined(${opt}_CONFIGURE_WITH)
516
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:S/^/--with-/}
520
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:S/^/--with-/}
517
.    endif
521
.    endif
522
.    if defined(${opt}_CMAKE_BOOL)
523
CMAKE_ARGS+=		${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=true/}
524
.    endif
518
.    for configure in CONFIGURE CMAKE QMAKE
525
.    for configure in CONFIGURE CMAKE QMAKE
519
.      if defined(${opt}_${configure}_ON)
526
.      if defined(${opt}_${configure}_ON)
520
${configure}_ARGS+=	${${opt}_${configure}_ON}
527
${configure}_ARGS+=	${${opt}_${configure}_ON}
Lines 559-564 Link Here
559
.    if defined(${opt}_CONFIGURE_WITH)
566
.    if defined(${opt}_CONFIGURE_WITH)
560
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:S/^/--without-/:C/=.*//}
567
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:S/^/--without-/:C/=.*//}
561
.    endif
568
.    endif
569
.    if defined(${opt}_CMAKE_BOOL)
570
CMAKE_ARGS+=		${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=false/}
571
.    endif
562
.    for configure in CONFIGURE CMAKE QMAKE
572
.    for configure in CONFIGURE CMAKE QMAKE
563
.      if defined(${opt}_${configure}_OFF)
573
.      if defined(${opt}_${configure}_OFF)
564
${configure}_ARGS+=	${${opt}_${configure}_OFF}
574
${configure}_ARGS+=	${${opt}_${configure}_OFF}

Return to bug 210576