security/wpa_supplicant: Simplify @comment logic by using OPTIONS_SUB

PR:		245809
Approved by:	cy (maintainer)
This commit is contained in:
Craig Leres 2020-04-22 19:54:39 +00:00
parent ec8b2aaab8
commit 940c083c87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532510

View file

@ -47,6 +47,7 @@ OPTIONS_DEFAULT= BSD WIRED NDIS \
INTERWORKING HS20 DBUS IEEE80211R IEEE80211W \
IEEE8021X_EAPOL WPS_ER WPS_NFC WPS_UPNP NDIS \
FAST PWD PAX SAKE GPSK TNC IKEV2 EKE
OPTIONS_SUB=
WPS_DESC= Wi-Fi Protected Setup
WPS_ER_DESC= Enable WPS External Registrar
@ -181,12 +182,6 @@ post-patch:
@${ECHO_CMD} CONFIG_L2_PACKET=freebsd >> ${CFG}
@${ECHO_CMD} CONFIG_TLS=openssl >> ${CFG}
.if ${PORT_OPTIONS:MEAPOL_TEST}
PLIST_SUB+= EAPOL_TEST=""
.else
PLIST_SUB+= EAPOL_TEST="@comment "
.endif
post-build-EAPOL_TEST-on:
cd ${BUILD_WRKSRC} && ${GMAKE} eapol_test