aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-12-30 01:01:42 +0800
committermat <mat@FreeBSD.org>2015-12-30 01:01:42 +0800
commitb3d31315268d30ef1238b469e2d9ba61c41433f2 (patch)
tree4725d36a2e47ec282304858fc25379e36b4560e1 /Mk
parent8cdb24584f869ec4833648b6ac88a2ca62660feb (diff)
downloadfreebsd-ports-gnome-b3d31315268d30ef1238b469e2d9ba61c41433f2.tar.gz
freebsd-ports-gnome-b3d31315268d30ef1238b469e2d9ba61c41433f2.tar.zst
freebsd-ports-gnome-b3d31315268d30ef1238b469e2d9ba61c41433f2.zip
Be consistent.
Noticed by: amdmi3 Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 0a11a7e68078..b6ae3e018ed6 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -499,10 +499,10 @@ ${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/}
. endfor
. endif
. if defined(${opt}_CONFIGURE_ENABLE)
-CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:C/^/--enable-/}
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--enable-/}
. endif
. if defined(${opt}_CONFIGURE_WITH)
-CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--with-/}
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:S/^/--with-/}
. endif
. for configure in CONFIGURE CMAKE QMAKE
. if defined(${opt}_${configure}_ON)
@@ -546,7 +546,7 @@ ${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/}
CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--disable-/:C/=.*//}
. endif
. if defined(${opt}_CONFIGURE_WITH)
-CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:C/^/--without-/:C/=.*//}
+CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:S/^/--without-/:C/=.*//}
. endif
. for configure in CONFIGURE CMAKE QMAKE
. if defined(${opt}_${configure}_OFF)