View | Details | Raw Unified | Return to bug 204708
Collapse All | Expand All

(-)Mk/bsd.options.mk (-20 / +4 lines)
Lines 491-506 ${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^" Link Here
491
.        endif
491
.        endif
492
.      endfor
492
.      endfor
493
.    endif
493
.    endif
494
.    if defined(${opt}_CONFIGURE_ENABLE)
494
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_ENABLE:C/.+/--enable-&/}
495
.      for iopt in ${${opt}_CONFIGURE_ENABLE}
495
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:C/.+/--with-&/}
496
CONFIGURE_ARGS+=	--enable-${iopt}
497
.      endfor
498
.    endif
499
.    if defined(${opt}_CONFIGURE_WITH)
500
.      for iopt in ${${opt}_CONFIGURE_WITH}
501
CONFIGURE_ARGS+=	--with-${iopt}
502
.      endfor
503
.    endif
504
.    for configure in CONFIGURE CMAKE QMAKE
496
.    for configure in CONFIGURE CMAKE QMAKE
505
.      if defined(${opt}_${configure}_ON)
497
.      if defined(${opt}_${configure}_ON)
506
${configure}_ARGS+=	${${opt}_${configure}_ON}
498
${configure}_ARGS+=	${${opt}_${configure}_ON}
Lines 539-554 ${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//: Link Here
539
.        endif
531
.        endif
540
.      endfor
532
.      endfor
541
.    endif
533
.    endif
542
.    if defined(${opt}_CONFIGURE_ENABLE)
534
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_ENABLE:C/=.*//:C/.+/--disable-&/}
543
.      for iopt in ${${opt}_CONFIGURE_ENABLE}
535
CONFIGURE_ARGS+=	${${opt}_CONFIGURE_WITH:C/=.*//:C/.+/--without-&/}
544
CONFIGURE_ARGS+=	--disable-${iopt:C/=.*//}
545
.      endfor
546
.    endif
547
.    if defined(${opt}_CONFIGURE_WITH)
548
.      for iopt in ${${opt}_CONFIGURE_WITH}
549
CONFIGURE_ARGS+=	--without-${iopt:C/=.*//}
550
.      endfor
551
.    endif
552
.    for configure in CONFIGURE CMAKE QMAKE
536
.    for configure in CONFIGURE CMAKE QMAKE
553
.      if defined(${opt}_${configure}_OFF)
537
.      if defined(${opt}_${configure}_OFF)
554
${configure}_ARGS+=	${${opt}_${configure}_OFF}
538
${configure}_ARGS+=	${${opt}_${configure}_OFF}

Return to bug 204708