summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/wdd/Manifest2
-rw-r--r--sys-apps/wdd/wdd-0.1.31.ebuild16
2 files changed, 10 insertions, 8 deletions
diff --git a/sys-apps/wdd/Manifest b/sys-apps/wdd/Manifest
index 57a1ecb0..7040538c 100644
--- a/sys-apps/wdd/Manifest
+++ b/sys-apps/wdd/Manifest
@@ -5,5 +5,5 @@ AUX wdd.confd 63 RMD160 0c72c3dc55da3c82231ecd4fc479fe64a1b49a66 SHA1 fe35c35f95
AUX wdd.initd 413 RMD160 037acbece81cd93cb54baf5752b55fb261645c08 SHA1 af4ca52be2e7e79ab332b321b1a19116e0a4823e SHA256 41b52446d2b513a945e84a12fc303d2b2c75e1f31c8ce33e1dde23d395947d17
DIST wdd.8 3198 RMD160 34aa288bd79e0f15229ca75f8567bde8d45f76a1 SHA1 1f83bdc0fd2f8aaeb439ac60f1d79487a8e88f88 SHA256 7129d465b7fa4c96dd488f22a4dc265a0d2d343e1c40ac0aa6827e53dd8aec2b
DIST wdd.c 2841 RMD160 f4555a2132545e371d7325bc71755c48f64a57b9 SHA1 b68d654ec1511bbce66a1a07d40bf9b7c3272243 SHA256 66be5e748b6199f7afbdbc7b6aaed6cbbfa2e0634aa90d3c0aefa743756ae6a7
-EBUILD wdd-0.1.31.ebuild 867 RMD160 29fa03297a75b4bda8903827b16e680ae0c57a53 SHA1 6043f3c54262429e2f0ba9f805c701f6db3aaf86 SHA256 b2e6e0f85f595ba76ff76a582e8efadde862e37931b554e464f8879b7c50cb23
+EBUILD wdd-0.1.31.ebuild 905 RMD160 b411dcebe0ef97d7f5b54c69aff97a249eed4003 SHA1 22f2c071b1f07b66a2b0af5a0268cd617e735a3a SHA256 52f98c72f6576541ca29ef5f80ecfc1eafc1068bb5ce7c9218adcecc06d64c57
EBUILD wdd-0.ebuild 877 RMD160 3f300c88602b1b0a83eb063258696022a9ea9a56 SHA1 b8388fdd59cc657b405419089a17695da88ebdd3 SHA256 3147882c54f6326b7cc111b9b9f9d04e0b5492a08513b103d8a3f5ed48859063
diff --git a/sys-apps/wdd/wdd-0.1.31.ebuild b/sys-apps/wdd/wdd-0.1.31.ebuild
index 9d8d9fc8..8b792dc0 100644
--- a/sys-apps/wdd/wdd-0.1.31.ebuild
+++ b/sys-apps/wdd/wdd-0.1.31.ebuild
@@ -12,9 +12,9 @@ EGIT_REPO_URI="http://master.formilux.org/git/people/beber/flxutils.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="syslog"
+IUSE="diet syslog"
-DEPEND="dev-libs/dietlibc"
+DEPEND="diet? ( dev-libs/dietlibc )"
RDEPEND=""
src_unpack ()
@@ -27,13 +27,15 @@ src_unpack ()
src_compile ()
{
- export DIET="/usr/bin/diet"
- export CC="$(tc-getCC)"
- export OBJDUMP="$(tc-getPROG OBJDUMP objdump ${CHOST})"
- export STRIP="$(tc-getSTRIP)"
+ use diet && export DIET="/usr/bin/diet"
emake -C wd \
- SSTRIP=\"\" || die "emake wd failed"
+ SSTRIP=\"\" \
+ DIET="${DIET}" \
+ CC="$(tc-getCC)" \
+ STRIP="$(tc-getSTRIP)" \
+ OBJDUMP="$(tc-getPROG OBJDUMP objdump ${CHOST})" \
+ || die "emake wd failed"
}
src_install ()