summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduard Warkentin <eduard.warkentin@gmx.de>2007-01-06 23:32:45 +0000
committerEduard Warkentin <eduard.warkentin@gmx.de>2007-01-06 23:32:45 +0000
commit38d3a192b621c72f9b999445cd603adcd57deae9 (patch)
treef1db4c5c3906ea04d8ec2b82b07c6e29127a6006 /app-backup/darbackup/darbackup-0.7-r1.ebuild
parentapp-backup/darbackup: fixed the Makefile for creating the manpage properly (diff)
downloadsunrise-38d3a192b621c72f9b999445cd603adcd57deae9.tar.gz
sunrise-38d3a192b621c72f9b999445cd603adcd57deae9.tar.bz2
sunrise-38d3a192b621c72f9b999445cd603adcd57deae9.zip
Fixed the gentoo ebuild to enforce the use of dar32 || dar64
svn path=/sunrise/; revision=2605
Diffstat (limited to 'app-backup/darbackup/darbackup-0.7-r1.ebuild')
-rw-r--r--app-backup/darbackup/darbackup-0.7-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-backup/darbackup/darbackup-0.7-r1.ebuild b/app-backup/darbackup/darbackup-0.7-r1.ebuild
index 4251f611f..057b94aae 100644
--- a/app-backup/darbackup/darbackup-0.7-r1.ebuild
+++ b/app-backup/darbackup/darbackup-0.7-r1.ebuild
@@ -22,3 +22,10 @@ src_install() {
dobin darbackup
doman darbackup.1
}
+
+pkg_setup() {
+ if ! built_with_use dar dar32 && ! built_with_use dar dar64; then
+ die 'You dont have neither dar32 nor dar64 set as USE. Please
+ correct it according to your arch.'
+ fi
+}