summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index c3d58b4..2ead7f8 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -60,11 +60,12 @@ src_unpack() {
sed -i.bak -e '/LDFLAGS += -Wl,-rpath ./ s/^/#/' src/Makefile
# Ensure a .depend always exists as it should not be in GIT
- [ -e src/.depend ] || touch -r src/Makefile src/.depend
+ [ -e src/.depend ] || touch -r / src/.depend
}
src_compile() {
use static && append-ldflags -static
+ emake $(make_opts) CC=$(tc-getCC) depend || die
emake $(make_opts) CC=$(tc-getCC) || die
}