diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-08-29 21:45:23 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-08-29 21:46:33 +0900 |
commit | 6d3ea1686de4ffe3bf6ee380e4d6cb5271950916 (patch) | |
tree | e3407df66d2bb7e403de504a7072a877bec41e8e /dev-libs | |
parent | dev-libs/m17n-lib: update patches (diff) | |
download | gentoo-6d3ea1686de4ffe3bf6ee380e4d6cb5271950916.tar.gz gentoo-6d3ea1686de4ffe3bf6ee380e4d6cb5271950916.tar.bz2 gentoo-6d3ea1686de4ffe3bf6ee380e4d6cb5271950916.zip |
dev-libs/m17n-lib: fix build with USE=-X
Closes: https://bugs.gentoo.org/664778
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-pkg-config.patch | 19 | ||||
-rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/m17n-lib/files/m17n-lib-pkg-config.patch b/dev-libs/m17n-lib/files/m17n-lib-pkg-config.patch new file mode 100644 index 000000000000..aabe12e586d8 --- /dev/null +++ b/dev-libs/m17n-lib/files/m17n-lib-pkg-config.patch @@ -0,0 +1,19 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -120,7 +120,6 @@ + M17N_EXT_LIBS= + + AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) +-AM_CONDITIONAL([HAVE_PKG_CONFIG], [test x$HAVE_PKG_CONFIG = xyes]) + + if test "x$no_x" != "xyes"; then + AC_DEFINE(HAVE_X11, 1, [Define to 1 if you have X11.]) +@@ -318,6 +317,8 @@ + + fi + ++AM_CONDITIONAL([HAVE_PKG_CONFIG], [test x$HAVE_PKG_CONFIG = xyes]) ++ + dnl Check for libxml2 usability. + save_CPPFLAGS="$CPPFLAGS" + save_LIBS="$LIBS" diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild index ca3d353d0df5..c98449bc3429 100644 --- a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild +++ b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}-freetype.patch "${FILESDIR}"/${PN}-ispell.patch "${FILESDIR}"/${PN}-parallel-make.patch + "${FILESDIR}"/${PN}-pkg-config.patch ) src_prepare() { |