mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
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
@ -13,6 +13,7 @@ USES= gmake readline
|
|||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
BUILD_WRKSRC= ${WRKSRC}/wpa_supplicant
|
BUILD_WRKSRC= ${WRKSRC}/wpa_supplicant
|
||||||
INSTALL_WRKSRC= ${WRKSRC}/src
|
INSTALL_WRKSRC= ${WRKSRC}/src
|
||||||
|
CFLAGS+= ${CPPFLAGS} # USES=readline only augments CPPFLAGS and LDFLAGS
|
||||||
LDFLAGS= -lutil
|
LDFLAGS= -lutil
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
Loading…
Reference in New Issue
Block a user