diff options
author | 2018-10-20 12:54:20 +0200 | |
---|---|---|
committer | 2018-10-20 13:38:58 +0200 | |
commit | a8a2042810aa136c71da1e8a75133bc7936588eb (patch) | |
tree | 815d3e8b6a75b1e06de53826018659ef463761a1 /app-editors/xmlcopyeditor/files | |
parent | net-misc/sitecopy: Update sources and ebuild (diff) | |
download | gentoo-a8a2042810aa136c71da1e8a75133bc7936588eb.tar.gz gentoo-a8a2042810aa136c71da1e8a75133bc7936588eb.tar.bz2 gentoo-a8a2042810aa136c71da1e8a75133bc7936588eb.zip |
app-editors/xmlcopyeditor: Don't depend automagically in enchant
Thanks-to: Juergen Rose
Thanks-to: Chris Mayo
Closes: https://bugs.gentoo.org/629814
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-editors/xmlcopyeditor/files')
-rw-r--r-- | app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch new file mode 100644 index 000000000000..435b777b43d7 --- /dev/null +++ b/app-editors/xmlcopyeditor/files/xmlcopyeditor-1.2.1.3-no-automagic-enchant.patch @@ -0,0 +1,19 @@ +--- xmlcopyeditor-1.2.1.3.orig/configure.ac ++++ xmlcopyeditor-1.2.1.3/configure.ac +@@ -139,13 +139,9 @@ + AC_CHECK_HEADER(expat.h, , + AC_MSG_ERROR([Expat headers not found])) + +-# Check enchant is available +-PKG_CHECK_MODULES(ENCHANT, [enchant], [CXXFLAGS="$CXXFLAGS -DUSE_ENCHANT"], +- # otherwise Check ASPELL is available +- [AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], +- AC_MSG_ERROR([Aspell headers not found]))] +-) +- ++# Check Aspell is available ++AC_CHECK_HEADER(aspell.h, [ASPELL_LIBS="-laspell"], ++ AC_MSG_ERROR([Aspell headers not found])) + AC_SUBST(ASPELL_LIBS) + + # Check gtk |