From: Yixun Lan Date: Tue, 7 Jun 2016 06:42:45 +0000 (+0800) Subject: sys-cluster/ceph: correct zfs PKG_CONFIG's variable X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=afb63b906bf1cba90a8f9d4a651174ad973ee422;p=gentoo.git sys-cluster/ceph: correct zfs PKG_CONFIG's variable Gentoo-Bug: 585050 Package-Manager: portage-2.3.0_rc1 --- diff --git a/sys-cluster/ceph/ceph-10.2.1.ebuild b/sys-cluster/ceph/ceph-10.2.1.ebuild index ab79bf341a04..1ab15d9a79b8 100644 --- a/sys-cluster/ceph/ceph-10.2.1.ebuild +++ b/sys-cluster/ceph/ceph-10.2.1.ebuild @@ -111,7 +111,8 @@ UNBUNDLE_LIBS=( PATCHES=( "${FILESDIR}/ceph-10.2.0-dont-use-virtualenvs.patch" #"${FILESDIR}/ceph-10.2.1-unbundle-jerasure.patch" - "${FILESDIR}/ceph-10.2.1-armv7l-doesnt-support-momit-leaf-frame-pointer.patch" + "${FILESDIR}/${P}-libzfs.patch" + "${FILESDIR}/${P}-armv7l-doesnt-support-momit-leaf-frame-pointer.patch" ) check-reqs_export_vars() { diff --git a/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch b/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch new file mode 100644 index 000000000000..34f8eb84beee --- /dev/null +++ b/sys-cluster/ceph/files/ceph-10.2.1-libzfs.patch @@ -0,0 +1,11 @@ +--- ceph-10.2.1/configure.ac ++++ ceph-10.2.1/configure.ac +@@ -908,7 +908,7 @@ + , + [with_libzfs=no]) + AS_IF([test "x$with_libzfs" = xyes], +- [PKG_CHECK_MODULES([LIBZFS], [zfs], [], [true])]) ++ [PKG_CHECK_MODULES([LIBZFS], [libzfs], [], [true])]) + AS_IF([test "x$with_libzfs" = xyes], + [AC_DEFINE([HAVE_LIBZFS], [1], [Defined if you have libzfs enabled])]) + AM_CONDITIONAL(WITH_LIBZFS, [ test "$with_libzfs" = "yes" ])