diff options
author | Tiago Cunha <tcunha@gentoo.org> | 2008-02-02 16:58:58 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gentoo.org> | 2008-02-02 16:58:58 +0000 |
commit | 0e039d5fc7db09bab21327cc1ba94786be962615 (patch) | |
tree | bca0e89c5e85838459b2a0ad0d311fb0b8140922 | |
parent | games-fps/vavoom: Updated cmake patch to reflect upstream changes. Introduced... (diff) | |
download | sunrise-0e039d5fc7db09bab21327cc1ba94786be962615.tar.gz sunrise-0e039d5fc7db09bab21327cc1ba94786be962615.tar.bz2 sunrise-0e039d5fc7db09bab21327cc1ba94786be962615.zip |
net-analyzer/symon: Instead of using sed and tc-getCC to call the correct gcc in src_unpack, make the package use the proper CC from the portage environment in src_compile
svn path=/sunrise/; revision=5584
-rw-r--r-- | net-analyzer/symon/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/symon/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/symon/symon-2.78-r1.ebuild | 6 |
3 files changed, 9 insertions, 7 deletions
diff --git a/net-analyzer/symon/ChangeLog b/net-analyzer/symon/ChangeLog index f84806689..f32c55813 100644 --- a/net-analyzer/symon/ChangeLog +++ b/net-analyzer/symon/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 02 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> + symon-2.78-r1.ebuild: + Instead of using sed and tc-getCC to call the correct gcc in src_unpack, + make the package use the proper CC from the portage environment in + src_compile + 10 Jan 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> symon-2.78-r1.ebuild: Avoid pre-stripping diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest index 9f495a6d4..03f03d151 100644 --- a/net-analyzer/symon/Manifest +++ b/net-analyzer/symon/Manifest @@ -7,6 +7,6 @@ AUX symon-syweb-total_firewall.layout.patch 1616 RMD160 08462a968ece585cba4331ba AUX symux-init.d 368 RMD160 1c493840c0574ead0387971020120be32e5f9948 SHA1 bbf1abf359042a1b120254182214b62faa56794e SHA256 090f20e13ef59590e7d9d4f8dd1db4b18a46cc5172ae6215d4bf551ecdc83fbe DIST symon-2.78.tar.gz 102400 RMD160 40ca61ce68778de54d5a1b541d6c640dd7fb479c SHA1 bbe7f2b58e3ed0e42f3b1da97ea4051d2c1cee34 SHA256 cda07388156e66a665c6d53dca4fdce3e210ee6a28c44e64d240715a572b39ac DIST syweb-0.57.tar.gz 40960 RMD160 a59c24402344c3d2ae44c4ff586c469289a5e6e8 SHA1 05762c6b472e161d7bae56b603e4eb8595323738 SHA256 d1a5bbec892488f5bbc1ef5b52fd512097421f4e6be8742ad18838d11f42d502 -EBUILD symon-2.78-r1.ebuild 3296 RMD160 ca0618d35e9d081e58091e7fd290dd3096630172 SHA1 396304730bd95af0f8fadefa33d6ef10353b9d0d SHA256 848d5cc2c91a293f44f5d0e9c3ba130dd3f0542404c54fddf22ed12039888e7f -MISC ChangeLog 1268 RMD160 2c05572d4f1796354108a642d49bbced8aadefe9 SHA1 5fed844fb6362022c2c0c47fd2b890488bbeb187 SHA256 18facad18a369e04d45e51e0cd8fa602cdebfc090f4079a9ccd2fcaa5482fb14 +EBUILD symon-2.78-r1.ebuild 3165 RMD160 49185b25820ab2f9ef604e4d66311d631a2b2693 SHA1 9f28f14d015a261a0ed21cc3c02750aee83f4de7 SHA256 c304b9b9f69345eed1618ee975f14869c36aa1a6b21109c6b1cb31f356486144 +MISC ChangeLog 1507 RMD160 851a86334fbba52f4743bb62ddf5665f670d4d7d SHA1 a2849cd02ce90957393f778d43c28368107f4338 SHA256 0e8baa2eb429eb89e7562d000e9c024c4706df2be0cc7c8196b4c56e7d3d0ea6 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-analyzer/symon/symon-2.78-r1.ebuild b/net-analyzer/symon/symon-2.78-r1.ebuild index 3d0793798..98fce2213 100644 --- a/net-analyzer/symon/symon-2.78-r1.ebuild +++ b/net-analyzer/symon/symon-2.78-r1.ebuild @@ -44,10 +44,6 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-syweb-total_firewall.layout.patch fi - # we've to sed the whole line because CC? means if the variable is not - # already defined - sed -i -e "s:^CC.*:CC=$(tc-getCC):" symon/Makefile.inc - sed -i -e "s:CFLAGS+=-Wall:CFLAGS=${CFLAGS}:" symon/Makefile.inc # leave to portage stripping binaries @@ -56,7 +52,7 @@ src_unpack() { } src_compile() { - MAKE=pmake emake || die "emake failed." + MAKE=pmake emake CC="$(tc-getCC)" || die "emake failed." } src_install() { |