diff options
author | David Shakaryan <omp@gentoo.org> | 2008-12-03 19:44:28 +0000 |
---|---|---|
committer | David Shakaryan <omp@gentoo.org> | 2008-12-03 19:44:28 +0000 |
commit | b46d5f58f85e1aabe0d559fb118bfe522f2076bd (patch) | |
tree | b8abf507f01c9da94b6a4ce2b238448008fe4fbf /x11-misc/nitrogen | |
parent | version bump (diff) | |
download | gentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.tar.gz gentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.tar.bz2 gentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.zip |
Patch for --as-needed by Christian Ruppert (idl0r). (bug #248576)
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-ARCH i686)
Diffstat (limited to 'x11-misc/nitrogen')
-rw-r--r-- | x11-misc/nitrogen/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/nitrogen/files/Makefile-as-needed.patch | 10 | ||||
-rw-r--r-- | x11-misc/nitrogen/nitrogen-1.4.ebuild | 12 |
3 files changed, 26 insertions, 2 deletions
diff --git a/x11-misc/nitrogen/ChangeLog b/x11-misc/nitrogen/ChangeLog index aef52121aad3..de778b9f5559 100644 --- a/x11-misc/nitrogen/ChangeLog +++ b/x11-misc/nitrogen/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/nitrogen # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/ChangeLog,v 1.5 2008/08/11 13:13:18 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/ChangeLog,v 1.6 2008/12/03 19:44:28 omp Exp $ + + 03 Dec 2008; David Shakaryan <omp@gentoo.org> + +files/Makefile-as-needed.patch, nitrogen-1.4.ebuild: + Patch for --as-needed by Christian Ruppert (idl0r). (bug #248576) *nitrogen-1.4 (11 Aug 2008) diff --git a/x11-misc/nitrogen/files/Makefile-as-needed.patch b/x11-misc/nitrogen/files/Makefile-as-needed.patch new file mode 100644 index 000000000000..cbeb44b9b009 --- /dev/null +++ b/x11-misc/nitrogen/files/Makefile-as-needed.patch @@ -0,0 +1,10 @@ +--- nitrogen-1.4.old/src/Makefile.am 2008-05-05 21:34:15.000000000 +0200 ++++ nitrogen-1.4/src/Makefile.am 2008-12-03 20:14:34.000000000 +0100 +@@ -1,6 +1,6 @@ + bin_PROGRAMS = nitrogen + nitrogen_SOURCES = Config.h NWindow.h main.cc md5.h SetBG.cc main.h Thumbview.cc Config.cc NWindow.cc SetBG.h md5.c ArgParser.h ArgParser.cc Thumbview.h ImageCombo.cc ImageCombo.h Inotify.cc Inotify.h Util.h Util.cc +-nitrogen_LDFLAGS = @NITROGEN_LIBS@ ++LIBS=@NITROGEN_LIBS@ + INCLUDES = @NITROGEN_CFLAGS@ \ + -DNITROGEN_DATA_DIR=\"$(pkgdatadir)\" + man_MANS = nitrogen.1 diff --git a/x11-misc/nitrogen/nitrogen-1.4.ebuild b/x11-misc/nitrogen/nitrogen-1.4.ebuild index fc96ad9c03cd..b1b8f520d43a 100644 --- a/x11-misc/nitrogen/nitrogen-1.4.ebuild +++ b/x11-misc/nitrogen/nitrogen-1.4.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.1 2008/08/11 13:13:18 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.2 2008/12/03 19:44:28 omp Exp $ + +inherit eutils autotools DESCRIPTION="GTK+ background browser and setter for X." HOMEPAGE="http://projects.l3ib.org/nitrogen/" @@ -18,6 +20,14 @@ DEPEND="${RDEPEND} dev-util/pkgconfig xinerama? ( x11-proto/xineramaproto )" +src_unpack () { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/Makefile-as-needed.patch + eautoreconf +} + src_compile() { econf $(use_enable xinerama) || die "econf failed" emake || die "emake failed" |