summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosu López Fernández <zamorate@zamorate.net>2006-07-06 17:23:10 +0000
committerJosu López Fernández <zamorate@zamorate.net>2006-07-06 17:23:10 +0000
commitfda0efaf47a9031e9d5c4da6a4ea444f372b3ac8 (patch)
tree55ed92e5df8f74560b4c222670c2a96319653bb2 /sys-apps
parentsys-apps/remendeko: Respect correct CC. Added ~amd64 and ~ppc keywords (diff)
downloadsunrise-reviewed-fda0efaf47a9031e9d5c4da6a4ea444f372b3ac8.tar.gz
sunrise-reviewed-fda0efaf47a9031e9d5c4da6a4ea444f372b3ac8.tar.bz2
sunrise-reviewed-fda0efaf47a9031e9d5c4da6a4ea444f372b3ac8.zip
sys-apps/remendeko: Respect correct CC. Added ~amd64 and ~ppc keywords
svn path=/sunrise/; revision=499
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/remendeko/Manifest8
-rw-r--r--sys-apps/remendeko/remendeko-0.3.0.ebuild11
2 files changed, 12 insertions, 7 deletions
diff --git a/sys-apps/remendeko/Manifest b/sys-apps/remendeko/Manifest
index 1a910ed3a..29291e02d 100644
--- a/sys-apps/remendeko/Manifest
+++ b/sys-apps/remendeko/Manifest
@@ -1,8 +1,8 @@
DIST RemenDeKO-0.3.0.tar.bz2 17009 RMD160 34ed341bad7224c606dc9cd6d2c776965ef2c866 SHA1 b7003353f420f2dfdb6626d9b5b2f59e7ab3620c SHA256 cb6b25a27f60fedbdc5e1806e4a342a3f4fd46139baf6e93719f1fba6cb097a8
-EBUILD remendeko-0.3.0.ebuild 974 RMD160 15704539456ad2ac3c0df495b5cde66265df9ba9 SHA1 9b95b8ccc50297417fb92315b8ae0e807aecfae8 SHA256 7a3c829fef4e2e77d74739da7a96eb87637a115cf627871fa999b3811be3039e
-MD5 e2b84798a34db2ea9906d58f87bb5c71 remendeko-0.3.0.ebuild 974
-RMD160 15704539456ad2ac3c0df495b5cde66265df9ba9 remendeko-0.3.0.ebuild 974
-SHA256 7a3c829fef4e2e77d74739da7a96eb87637a115cf627871fa999b3811be3039e remendeko-0.3.0.ebuild 974
+EBUILD remendeko-0.3.0.ebuild 1049 RMD160 d31da739d584476775e0b6a8e47694803c316234 SHA1 512ee0f52595eb954aa690c905f402521c83d528 SHA256 f0d57f9beadd548bfb95e74427469ccdda21735ab4d6a0e05af8fe29d27b8c80
+MD5 d146f383631020822d4a9cf8b74906df remendeko-0.3.0.ebuild 1049
+RMD160 d31da739d584476775e0b6a8e47694803c316234 remendeko-0.3.0.ebuild 1049
+SHA256 f0d57f9beadd548bfb95e74427469ccdda21735ab4d6a0e05af8fe29d27b8c80 remendeko-0.3.0.ebuild 1049
MISC ChangeLog 356 RMD160 1287a742926976c02b8a3d82ae2573566f418548 SHA1 308681f8fc2e76f27cca20d63121750077c39a3c SHA256 035bbe3683989b8344ef1306a1521b8ffd9032cde8d807762d59a5df4bf3f24b
MD5 de38d7c2a37d9b0e663d884b0797dabe ChangeLog 356
RMD160 1287a742926976c02b8a3d82ae2573566f418548 ChangeLog 356
diff --git a/sys-apps/remendeko/remendeko-0.3.0.ebuild b/sys-apps/remendeko/remendeko-0.3.0.ebuild
index 07f96da5e..578e40e49 100644
--- a/sys-apps/remendeko/remendeko-0.3.0.ebuild
+++ b/sys-apps/remendeko/remendeko-0.3.0.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit toolchain-funcs
+
MY_PN="RemenDeKO"
DESCRIPTION="File corruption detection and repair program"
HOMEPAGE="http://rdko.sourceforge.net/"
@@ -9,7 +11,7 @@ SRC_URI="mirror://sourceforge/rdko/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="gtk"
RESTRICT="strip"
@@ -29,11 +31,14 @@ src_unpack() {
-e '/^CFLAGSGUI/s:-fmessage-length=0 -fexpensive-optimizations -O3:$(CFLAGS):' \
Makefile || die "sed Makefile failed"
}
+
src_compile() {
if use gtk; then
- emake E_CFLAGS="${CFLAGS}" || die "emake failed"
+ emake E_CFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ || die "emake failed"
else
- emake E_CFLAGS="${CFLAGS}" rdko || die "emake failed"
+ emake E_CFLAGS="${CFLAGS}" CC="$(tc-getCC)" rdko \
+ || die "emake failed"
fi
}