Date: Sun, 19 Oct 2014 09:33:05 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371174 - head/security/wpa_supplicant Message-ID: <201410190933.s9J9X5PS011513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410190933.s9J9X5PS011513>