1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Allow the use of opt_ENABLE= foo=/bar to work like opt_WITH.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-12-29 14:14:20 +00:00
parent f0840a1cb5
commit 25a3814a24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375786

View File

@ -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)