]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/xterm: Avoid freetype2 path poisoning using imake
authorValentin Korenblit <valentin.korenblit@smile.fr>
Tue, 27 Mar 2018 07:44:34 +0000 (09:44 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Mar 2018 20:56:46 +0000 (22:56 +0200)
commit6d0316dc7b14f6cd2d44e92c6ab581a6ab385234
tree2403c6ae4133510b8cbd8a5cdbefd43385823e6c
parent8cbb08d8e59d56e5d86a85fc8730c9c604d77d27
package/xterm: Avoid freetype2 path poisoning using imake

When imake is installed on the host, it tries to include
freetype headers from host, so we must override ac_cv_path_IMAKE
to avoid this.

Extract from config.log:

configure:14803: checking if we should use imake to help
configure:14820: result: yes
configure:14829: checking for xmkmf
configure:14846: found /usr/bin/xmkmf
configure:14857: result: /usr/bin/xmkmf
configure:14920: testing Using /usr/bin/xmkmf  ...
configure:15015: testing IMAKE_CFLAGS  -I. -I/usr/include/freetype2

Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
[Thomas: pass ac_cv_path_IMAKE="" as suggested by Romain Naour.]
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/xterm/xterm.mk