summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-07 16:56:09 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-07 16:56:09 +0000
commit6700545f887a4f6df25681c78c640b8a4684e08f (patch)
tree3f0b88764c4d0735ec0e07736385b37b856e1d76
parentStable for amd64 wrt bug #495842 (diff)
downloadgentoo-2-6700545f887a4f6df25681c78c640b8a4684e08f.tar.gz
gentoo-2-6700545f887a4f6df25681c78c640b8a4684e08f.tar.bz2
gentoo-2-6700545f887a4f6df25681c78c640b8a4684e08f.zip
Use $PKG_CONFIG rather than hardcode `pkg-config`.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
-rw-r--r--x11-misc/xdotool/ChangeLog7
-rw-r--r--x11-misc/xdotool/xdotool-2.20110530.1.ebuild12
2 files changed, 12 insertions, 7 deletions
diff --git a/x11-misc/xdotool/ChangeLog b/x11-misc/xdotool/ChangeLog
index aa7040cfea49..1f26cd62654a 100644
--- a/x11-misc/xdotool/ChangeLog
+++ b/x11-misc/xdotool/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/xdotool
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/ChangeLog,v 1.30 2012/12/23 20:27:54 ulm Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/ChangeLog,v 1.31 2014/01/07 16:56:09 vapier Exp $
+
+ 07 Jan 2014; Mike Frysinger <vapier@gentoo.org> xdotool-2.20110530.1.ebuild:
+ Use $PKG_CONFIG rather than hardcode `pkg-config`.
23 Dec 2012; Ulrich Müller <ulm@gentoo.org> xdotool-2.20101012.3049.ebuild,
xdotool-2.20110530.1.ebuild:
diff --git a/x11-misc/xdotool/xdotool-2.20110530.1.ebuild b/x11-misc/xdotool/xdotool-2.20110530.1.ebuild
index 8c2a528c03e5..93f2894f3bb0 100644
--- a/x11-misc/xdotool/xdotool-2.20110530.1.ebuild
+++ b/x11-misc/xdotool/xdotool-2.20110530.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/xdotool-2.20110530.1.ebuild,v 1.9 2012/12/23 20:27:54 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/xdotool-2.20110530.1.ebuild,v 1.10 2014/01/07 16:56:09 vapier Exp $
EAPI=2
@@ -27,12 +27,14 @@ DEPEND="${RDEPEND}"
RESTRICT="test"
src_prepare() {
- sed -e "s/installheader post-install$/installheader/" \
- -i Makefile || die "sed failed"
+ sed -i \
+ -e "s/installheader post-install$/installheader/" \
+ -e 's:\<pkg-config\>:$(PKG_CONFIG):' \
+ Makefile || die "sed failed"
}
src_compile() {
- tc-export CC LD
+ tc-export CC LD PKG_CONFIG
default
}