svn commit: r429390 - head/security/wpa_supplicant
Joseph Mingrone
jrm at FreeBSD.org
Sun Dec 25 03:15:15 UTC 2016
Author: jrm
Date: Sun Dec 25 03:15:14 2016
New Revision: 429390
URL: https://svnweb.freebsd.org/changeset/ports/429390
Log:
security/wpa_supplicant: Allow users of FreeBSD 9 with libre- or openssl
from ports to build the port.
FreeBSD 9 is EOL in less than a week. Now those stragglers still running
9.3 can get online to update in the next few days.
Approved by: AMDmi3 (mentor) swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8875
Modified:
head/security/wpa_supplicant/Makefile
Modified: head/security/wpa_supplicant/Makefile
==============================================================================
--- head/security/wpa_supplicant/Makefile Sun Dec 25 01:11:53 2016 (r429389)
+++ head/security/wpa_supplicant/Makefile Sun Dec 25 03:15:14 2016 (r429390)
@@ -11,8 +11,6 @@ COMMENT= Supplicant (client) for WPA/802
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/README
-BROKEN_FreeBSD_9= does not build (error: void value not ignored as it ought to be)
-
USES= cpe gmake readline ssl
BUILD_WRKSRC= ${WRKSRC}/wpa_supplicant
INSTALL_WRKSRC= ${WRKSRC}/src
@@ -95,7 +93,13 @@ TNC_DESC= Trusted Network Connect
PRIVSEP_PLIST_FILES= sbin/wpa_priv
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_9= Does not build on FreeBSD < 10 with base SSL. Add DEFAULT_VERSIONS+=ssl=openssl\
+ or DEFAULT_VERSIONS+=ssl=libressl to /etc/make.conf and rebuild everything that\
+ requires SSL.
+.endif
.if ${PORT_OPTIONS:MNDIS} && ${PORT_OPTIONS:MPRIVSEP}
BROKEN= Fails to compile with both NDIS and PRIVSEP
@@ -173,4 +177,4 @@ do-install-DOCS-on:
do-install-PRIVSEP-on:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/wpa_priv ${STAGEDIR}${PREFIX}/sbin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list