pacho 14/07/16 18:04:53 Modified: aiccu-2007.01.15-systemd.patch Log: Fix systemd linking (#502448 by Jonathan Callen), drop old (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path 1.3 net-misc/aiccu/files/aiccu-2007.01.15-systemd.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aiccu/files/aiccu-2007.01.15-systemd.patch?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aiccu/files/aiccu-2007.01.15-systemd.patch?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/aiccu/files/aiccu-2007.01.15-systemd.patch?r1=1.2&r2=1.3 Index: aiccu-2007.01.15-systemd.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/aiccu/files/aiccu-2007.01.15-systemd.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- aiccu-2007.01.15-systemd.patch 27 May 2013 05:23:57 -0000 1.2 +++ aiccu-2007.01.15-systemd.patch 16 Jul 2014 18:04:53 -0000 1.3 @@ -21,7 +21,7 @@ OBJS += ../common/aiccu_linux.o LIBS += -lpthread -lresolv +ifeq (1,$(HAVE_SYSTEMD)) -+LIBS += -lsystemd-daemon ++LIBS += $(shell pkg-config --libs libsystemd 2>/dev/null || pkg-config --libs libsystemd-daemon) +CFLAGS += -DHAVE_SYSTEMD +endif endif