summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-01-17 14:24:04 +0000
committerAlin Năstac <mrness@gentoo.org>2009-01-17 14:24:04 +0000
commit6c350d7595f608aaeaa2fbe12205407c7d36d945 (patch)
treee5be40b2b848835a06b0cda6dbd5a3aa47b5bab4 /app-mobilephone/gammu
parentppc stable #253077 (diff)
downloadgentoo-2-6c350d7595f608aaeaa2fbe12205407c7d36d945.tar.gz
gentoo-2-6c350d7595f608aaeaa2fbe12205407c7d36d945.tar.bz2
gentoo-2-6c350d7595f608aaeaa2fbe12205407c7d36d945.zip
Use standard -l options in installed .pc file.
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-mobilephone/gammu')
-rw-r--r--app-mobilephone/gammu/ChangeLog8
-rw-r--r--app-mobilephone/gammu/gammu-1.22.1-r1.ebuild (renamed from app-mobilephone/gammu/gammu-1.22.1.ebuild)7
2 files changed, 13 insertions, 2 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog
index 494aa04d3538..0a0b5e9aafe3 100644
--- a/app-mobilephone/gammu/ChangeLog
+++ b/app-mobilephone/gammu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-mobilephone/gammu
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.61 2009/01/17 12:38:14 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.62 2009/01/17 14:24:04 mrness Exp $
+
+*gammu-1.22.1-r1 (17 Jan 2009)
+
+ 17 Jan 2009; Alin Năstac <mrness@gentoo.org> -gammu-1.22.1.ebuild,
+ +gammu-1.22.1-r1.ebuild:
+ Use standard -l options in installed .pc file.
17 Jan 2009; Alin Năstac <mrness@gentoo.org>
+files/gammu-1.22.1-assert.patch, -files/gammu-1.22.1-debug-test.patch,
diff --git a/app-mobilephone/gammu/gammu-1.22.1.ebuild b/app-mobilephone/gammu/gammu-1.22.1-r1.ebuild
index 1ebc51a82a4c..cf993339531a 100644
--- a/app-mobilephone/gammu/gammu-1.22.1.ebuild
+++ b/app-mobilephone/gammu/gammu-1.22.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.22.1.ebuild,v 1.2 2009/01/17 12:38:14 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.22.1-r1.ebuild,v 1.1 2009/01/17 14:24:04 mrness Exp $
inherit cmake-utils
@@ -66,3 +66,8 @@ src_compile() {
src_test() {
LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test
}
+
+pkg_preinst() {
+ # use standard -l options
+ sed -i -e 's:-l[a-z0-9A-Z_/-]*/lib\([a-z]*\)\.so:-l\1:g' "${D}"/usr/*/pkgconfig/gammu.pc || die "sed failed"
+}