summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2008-10-31 15:49:29 +0000
committerTony Vroon <chainsaw@gentoo.org>2008-10-31 15:49:29 +0000
commita03da1e7ab7834d0520d90b0e33caafac2237859 (patch)
treeb4ebcfc5f591dba4652af35e0568cdd901afaf33 /app-mobilephone/smstools
parentSwitched install location from paraview-3.4.0 to paraview-3.4. (diff)
downloadgentoo-2-a03da1e7ab7834d0520d90b0e33caafac2237859.tar.gz
gentoo-2-a03da1e7ab7834d0520d90b0e33caafac2237859.tar.bz2
gentoo-2-a03da1e7ab7834d0520d90b0e33caafac2237859.zip
Respect CC variable, closes bug #243690 by Diego Pettenò <flameeyes@gentoo.org>.
(Portage version: 2.2_rc12/cvs/Linux 2.6.28-rc2-00185-ge946217-dirty x86_64)
Diffstat (limited to 'app-mobilephone/smstools')
-rw-r--r--app-mobilephone/smstools/ChangeLog6
-rw-r--r--app-mobilephone/smstools/smstools-2.2.20.ebuild17
2 files changed, 14 insertions, 9 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog
index a449ea28836b..05996f0ebd85 100644
--- a/app-mobilephone/smstools/ChangeLog
+++ b/app-mobilephone/smstools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-mobilephone/smstools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.12 2008/07/31 20:10:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.13 2008/10/31 15:49:29 chainsaw Exp $
+
+ 31 Oct 2008; <chainsaw@gentoo.org> smstools-2.2.20.ebuild:
+ Respect CC variable, closes bug #243690 by Diego Pettenò
+ <flameeyes@gentoo.org>.
31 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
diff --git a/app-mobilephone/smstools/smstools-2.2.20.ebuild b/app-mobilephone/smstools/smstools-2.2.20.ebuild
index 8387eafb1d74..0b8213651a91 100644
--- a/app-mobilephone/smstools/smstools-2.2.20.ebuild
+++ b/app-mobilephone/smstools/smstools-2.2.20.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-2.2.20.ebuild,v 1.1 2008/01/14 16:13:37 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-2.2.20.ebuild,v 1.2 2008/10/31 15:49:29 chainsaw Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="Send and receive short messages through GSM modems"
HOMEPAGE="http://smstools.meinemullemaus.de/"
@@ -18,11 +18,6 @@ RDEPEND="sys-process/procps
S="${WORKDIR}"/${PN}
-pkg_setup() {
- enewgroup sms
- enewuser smsd -1 -1 /var/spool/sms sms
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -35,7 +30,12 @@ src_unpack() {
src_compile() {
cd src
- emake || die "emake failed"
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+pkg_preinst() {
+ enewgroup sms
+ enewuser smsd -1 -1 /var/spool/sms sms
}
src_install() {
@@ -60,5 +60,6 @@ src_install() {
}
pkg_postinst() {
+ touch /var/log/smsd.log
chown -f smsd:sms /var/log/smsd.log
}