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
This commit is contained in:
parent
e1555011ab
commit
7d17057c0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371174
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue