diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-03-16 13:03:24 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-03-16 13:05:59 -0400 |
commit | 5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6 (patch) | |
tree | c01ca5dc6aa87ecc7bd1ba0bbc26f97cb14cd6ac /net-p2p/transmission | |
parent | net-p2p/gtk-gnutella: cleanup (diff) | |
download | gentoo-5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6.tar.gz gentoo-5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6.tar.bz2 gentoo-5d45c75941a5fd40b933e9f9d04d9dc9f25dcaf6.zip |
net-p2p/transmission: Fix building against recent libsystemd
Package-Manager: portage-2.2.28_p60
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r-- | net-p2p/transmission/files/libsystemd.patch | 11 | ||||
-rw-r--r-- | net-p2p/transmission/transmission-2.92.ebuild | 8 |
2 files changed, 17 insertions, 2 deletions
diff --git a/net-p2p/transmission/files/libsystemd.patch b/net-p2p/transmission/files/libsystemd.patch new file mode 100644 index 000000000000..5db47ef39bd9 --- /dev/null +++ b/net-p2p/transmission/files/libsystemd.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -245,7 +245,7 @@ + [Add support for systemd startup notification (default is autodetected)]), + [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto]) + AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [ +- PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon], ++ PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd], + [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])], + [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"], + [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])] diff --git a/net-p2p/transmission/transmission-2.92.ebuild b/net-p2p/transmission/transmission-2.92.ebuild index 96c12efa4813..68a80b363dd9 100644 --- a/net-p2p/transmission/transmission-2.92.ebuild +++ b/net-p2p/transmission/transmission-2.92.ebuild @@ -30,7 +30,7 @@ RDEPEND=">=dev-libs/libevent-2.0.10:= >=x11-libs/gtk+-3.4:3= ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) ) - systemd? ( sys-apps/systemd:= ) + systemd? ( >=sys-apps/systemd-209:= ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 @@ -56,6 +56,10 @@ REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )" DOCS="AUTHORS NEWS qt/README.txt" +PATCHES=( + "${FILESDIR}"/libsystemd.patch +) + src_prepare() { sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die @@ -68,7 +72,7 @@ src_prepare() { # http://trac.transmissionbt.com/ticket/4324 sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' libtransmission/Makefile.am || die - eapply_user + default eautoreconf } |