summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-29 17:38:27 +0000
committerRoy Marples <roy@marples.name>2007-12-29 17:38:27 +0000
commit779a04439f39422e554652133c4fa8b7a9611c20 (patch)
tree052ddc9aa0963d89054b91df282b84a32a9887b6
parentMove to a git ebuild for initial testing, thanks to Flameeyes (diff)
downloaduberlord-779a04439f39422e554652133c4fa8b7a9611c20.tar.gz
uberlord-779a04439f39422e554652133c4fa8b7a9611c20.tar.bz2
uberlord-779a04439f39422e554652133c4fa8b7a9611c20.zip
Ensure a .depend always exists as it should not be in GIT
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index b66378e..c3d58b4 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -58,6 +58,9 @@ src_unpack() {
# GIT has this rpath for testing, but we need to disable it as it's
# a potential security risk
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
}
src_compile() {