From e9ec610d7d371536ada9130907a649ed7ba9c226 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Tue, 15 Jun 2010 14:55:18 +0200 Subject: mythes12: fix build without pkg-config/hunspell on system --- mythes/makefile.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mythes/makefile.mk b/mythes/makefile.mk index 94fa611f1dd0..77d88bc4ca5f 100644 --- a/mythes/makefile.mk +++ b/mythes/makefile.mk @@ -47,6 +47,11 @@ PATCH_FILES=mythes-1.2.0-vanilla-th-gen-idx.patch \ .IF "$(GUI)"=="UNX" CONFIGURE_DIR=$(BUILD_DIR) +.IF "$(SYSTEM_HUNSPELL)" != "YES" +HUNSPELL_CFLAGS +:= -I$(SOLARINCDIR)$/hunspell +HUNSPELL_LIBS +:= -L$(SOLARLIBDIR) -lhunspell-1.2 +.ENDIF + #relative to CONFIGURE_DIR # still needed also in system-mythes case as it creates the makefile CONFIGURE_ACTION=configure @@ -104,3 +109,7 @@ OUT2INC += mythes.hxx .INCLUDE : target.mk .INCLUDE : tg_ext.mk +.IF "$(SYSTEM_HUNSPELL)" != "YES" +.EXPORT: HUNSPELL_LIBS HUNSPELL_CFLAGS +.ENDIF + -- cgit v1.2.3