svn commit: r371174 - head/security/wpa_supplicant
John Marino
marino at FreeBSD.org
Sun Oct 19 09:33:05 UTC 2014
Author: marino
Date: Sun Oct 19 09:33:04 2014
New Revision: 371174
URL: https://svnweb.freebsd.org/changeset/ports/371174
QAT: https://qat.redports.org/buildarchive/r371174/
Log:
security/wpa_supplicant: Fix build on FreeBSD 11
On FreeBSD 11, the wpa_supplicant couldn't find the readline headers.
It turns out that Mk/Uses/readline.mk only augments LDFLAGS and CPPFLAGS,
but wpa_supplicant needs -I${LOCALBASE}/include add to CFLAGS. To fix
FreeBSD build, augment CFLAGS with value of CPPFLAGS in the makefile.
This wasn't an issue on DragonFly. Apparently wpa_supplicant found the
readline compatibility headers of libedit and used those instead.
reported by: pkg-fallout
Modified:
head/security/wpa_supplicant/Makefile
Modified: head/security/wpa_supplicant/Makefile
==============================================================================
--- head/security/wpa_supplicant/Makefile Sun Oct 19 08:50:17 2014 (r371173)
+++ head/security/wpa_supplicant/Makefile Sun Oct 19 09:33:04 2014 (r371174)
@@ -13,6 +13,7 @@ USES= gmake readline
USE_OPENSSL= yes
BUILD_WRKSRC= ${WRKSRC}/wpa_supplicant
INSTALL_WRKSRC= ${WRKSRC}/src
+CFLAGS+= ${CPPFLAGS} # USES=readline only augments CPPFLAGS and LDFLAGS
LDFLAGS= -lutil
SUB_FILES= pkg-message
More information about the svn-ports-all
mailing list