aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-12-29 22:14:20 +0800
committermat <mat@FreeBSD.org>2014-12-29 22:14:20 +0800
commit48cb9f3b66bf9c125479d620606c40c863291925 (patch)
tree569796bc1a0d8a589c49237b6da478784c4915f3 /Mk
parent5d1dc975e4c0fb5a71431c2edceea6d73ea4ee5d (diff)
downloadfreebsd-ports-gnome-48cb9f3b66bf9c125479d620606c40c863291925.tar.gz
freebsd-ports-gnome-48cb9f3b66bf9c125479d620606c40c863291925.tar.zst
freebsd-ports-gnome-48cb9f3b66bf9c125479d620606c40c863291925.zip
Allow the use of opt_ENABLE= foo=/bar to work like opt_WITH.
Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.options.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 444a46058cb5..949cf28a7cbf 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -462,7 +462,7 @@ ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS}
. else
. if defined(${opt}_CONFIGURE_ENABLE)
. for iopt in ${${opt}_CONFIGURE_ENABLE}
-CONFIGURE_ARGS+= --disable-${iopt}
+CONFIGURE_ARGS+= --disable-${iopt:C/=.*//}
. endfor
. endif
. if defined(${opt}_CONFIGURE_WITH)