summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-24 20:14:51 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-24 20:14:51 +0000
commita67fb6692a00be6737c5743a7f9cbba5b350fdc9 (patch)
tree81a69bd20ca164b5dcaa6362cff0e856ddc45174
parentarm stable, bug #540868 (diff)
downloadgentoo-2-a67fb6692a00be6737c5743a7f9cbba5b350fdc9.tar.gz
gentoo-2-a67fb6692a00be6737c5743a7f9cbba5b350fdc9.tar.bz2
gentoo-2-a67fb6692a00be6737c5743a7f9cbba5b350fdc9.zip
Add compilation problems due to missing cflags, #544372
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
-rw-r--r--x11-plugins/gkrellweather/ChangeLog5
-rw-r--r--x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/x11-plugins/gkrellweather/ChangeLog b/x11-plugins/gkrellweather/ChangeLog
index da256469f4a5..d1b9a5419df6 100644
--- a/x11-plugins/gkrellweather/ChangeLog
+++ b/x11-plugins/gkrellweather/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/gkrellweather
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/ChangeLog,v 1.36 2015/03/20 16:07:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/ChangeLog,v 1.37 2015/03/24 20:14:51 jlec Exp $
+
+ 24 Mar 2015; Justin Lecher <jlec@gentoo.org> gkrellweather-2.0.8.ebuild:
+ Add compilation problems due to missing cflags, #544372
20 Mar 2015; Justin Lecher <jlec@gentoo.org> gkrellweather-2.0.8.ebuild:
Remove workaround
diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild
index 04ffb3086e1f..664122ca0d4d 100644
--- a/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild
+++ b/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild,v 1.3 2015/03/20 16:07:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellweather/gkrellweather-2.0.8.ebuild,v 1.4 2015/03/24 20:14:51 jlec Exp $
EAPI=5
-inherit gkrellm-plugin toolchain-funcs
+inherit flag-o-matic gkrellm-plugin toolchain-funcs
DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo"
HOMEPAGE="http://sites.google.com/site/makovick/gkrellm-plugins"
@@ -18,12 +18,17 @@ IUSE=""
RDEPEND="
>=dev-lang/perl-5.6.1
>=net-misc/wget-1.5.3"
-DEPEND=">=sys-apps/sed-4.0.5"
+DEPEND=">=sys-apps/sed-4.0.5
+ virtual/pkgconfig
+"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-Respect-LDFLAGS.patch \
"${FILESDIR}"/${P}-Move-GrabWeather.patch
+ append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0)
+ append-flags -fPIC
+
}
src_compile() {