--- Makefile (revision 382192) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= hostapd -PORTVERSION= 2.3 -PORTREVISION= 1 +PORTVERSION= 2.4 CATEGORIES= net MASTER_SITES= http://w1.fi/releases/ @@ -23,6 +22,23 @@ BROKEN_powerpc= does not compile BROKEN_sparc64= does not compile +OPTIONS_DEFINE= PORTS_SSL + +PORTS_SSL_DESC= Build with OpenSSL from ports (instead of base system) + +.include + +.if ${PORT_OPTIONS:MPORTS_SSL} +.if !defined(WITH_OPENSSL_PORT) +IGNORE= the PORTS_SSL option not allowed when WITH_OPENSSL_PORT is not set +.endif +CONFIGURE_ARGS+= --with-ssl-dir=${PREFIX} +.else +.if defined(WITH_OPENSSL_PORT) +IGNORE= the PORTS_SSL option is required when WITH_OPENSSL_PORT is set +.endif +.endif + post-patch: @${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \ ${BUILD_WRKSRC}/Makefile --- distinfo (revision 382192) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (hostapd-2.3.tar.gz) = c94c2b76876fad4c80a1063a06f958a2189ba5003475016fa7658a1ca49bb4df -SIZE (hostapd-2.3.tar.gz) = 1592480 +SHA256 (hostapd-2.4.tar.gz) = 6fe0eb6bd1c9cbd24952ece8586b6f7bd14ab358edfda99794e79b9b9dbd657f +SIZE (hostapd-2.4.tar.gz) = 1658872