sylpheed: Fix includedir
authorValentine Barshak <gvaxon@gmail.com>
Sun, 7 Oct 2012 12:39:59 +0000 (12:39 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 8 Oct 2012 19:39:21 +0000 (21:39 +0200)
commit0e572092a920592bae08db58e5e701b53cabf46b
treea248559da5b57e0a9afd8914f8b5b88be439b0d2
parent65ba9c49190b533cdaa41ce09dfd68a924859324
sylpheed: Fix includedir

The sylpheed headers are installed to $(DESTDIR)$(includedir),
while DESTDIR is $(TARGET_DIR) and includedir is set to
$(STAGING_DIR)/usr/include in the SYLPHEED_CONF_OPT.
Thus, the full staging directory path is created in the
target root filesystem, which is wrong.

The includedir was set to staging include because sylpheed
incorrectly adds includedir to its include path, and does
not cross-compile with the default includedir set to
/usr/include.

This removes includedir setting and also removes it from
include paths in Makefiles to prevent using host headers
from /usr/include. The same approach is used in the OE.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sylpheed/sylpheed.mk