diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-31 12:32:27 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-31 12:32:27 +0000 |
commit | ec726bf9ed99ee339b761d8e5be8a5db37f84fdd (patch) | |
tree | b96a434f4293dbcf45bb79f113433d4477883377 /app-crypt/md5deep | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-ec726bf9ed99ee339b761d8e5be8a5db37f84fdd.tar.gz gentoo-2-ec726bf9ed99ee339b761d8e5be8a5db37f84fdd.tar.bz2 gentoo-2-ec726bf9ed99ee339b761d8e5be8a5db37f84fdd.zip |
Use ${CHOST} selection to decide the target, instead of checking for userland.
(Portage version: 2.1_pre3)
Diffstat (limited to 'app-crypt/md5deep')
-rw-r--r-- | app-crypt/md5deep/ChangeLog | 5 | ||||
-rw-r--r-- | app-crypt/md5deep/md5deep-1.8.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/app-crypt/md5deep/ChangeLog b/app-crypt/md5deep/ChangeLog index cbc490bd5c87..f04521b994b7 100644 --- a/app-crypt/md5deep/ChangeLog +++ b/app-crypt/md5deep/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-crypt/md5deep # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/ChangeLog,v 1.16 2005/08/10 22:17:54 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/ChangeLog,v 1.17 2005/12/31 12:32:27 flameeyes Exp $ + + 31 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> md5deep-1.8.ebuild: + Use ${CHOST} selection to decide the target, instead of checking for userland. 10 Aug 2005; Stefan Briesenick <sbriesen@gentoo.org> md5deep-1.8.ebuild: adding ~amd64 to keywords diff --git a/app-crypt/md5deep/md5deep-1.8.ebuild b/app-crypt/md5deep/md5deep-1.8.ebuild index b3bc538829f6..dd41555c943e 100644 --- a/app-crypt/md5deep/md5deep-1.8.ebuild +++ b/app-crypt/md5deep/md5deep-1.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-1.8.ebuild,v 1.3 2005/08/10 22:17:54 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-1.8.ebuild,v 1.4 2005/12/31 12:32:27 flameeyes Exp $ DESCRIPTION="Expanded md5sum program that has recursive and comparison options." HOMEPAGE="http://md5deep.sourceforge.net" @@ -13,7 +13,15 @@ DEPEND="" src_compile() { sed -i -e "s:-Wall -O2:\$(CFLAGS):g" Makefile - use userland_Darwin && BUILDTARGET="mac" || BUILDTARGET="linux" + + case ${CHOST} in + *-darwin*) BUILDTARGET="mac" ;; + *-linux*) BUILDTARGET="linux" ;; + + # Let it fallback to general "unix" when not using linux exactly + *) BUILDTARGET="unix" ;; + esac + emake CFLAGS="${CFLAGS}" "${BUILDTARGET}" || die "make failed" } |