diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-12-05 16:08:50 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-12-05 16:08:50 +0000 |
commit | 686659c069798c87faff984bb7ec3e99920250d8 (patch) | |
tree | c2f2067474cdbd212753f0cf3c5b5331c2ecae51 /sys-devel/libperl/libperl-5.8.7.ebuild | |
parent | repoman: Trim trailing whitespace (diff) | |
download | historical-686659c069798c87faff984bb7ec3e99920250d8.tar.gz historical-686659c069798c87faff984bb7ec3e99920250d8.tar.bz2 historical-686659c069798c87faff984bb7ec3e99920250d8.zip |
Bug 113930, case statement for non-linux. Also cleaned out 5.8.5 versions since we don't have perl ebuilds for them either.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'sys-devel/libperl/libperl-5.8.7.ebuild')
-rw-r--r-- | sys-devel/libperl/libperl-5.8.7.ebuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sys-devel/libperl/libperl-5.8.7.ebuild b/sys-devel/libperl/libperl-5.8.7.ebuild index 59a167ebfd0f..5b7bdfed7603 100644 --- a/sys-devel/libperl/libperl-5.8.7.ebuild +++ b/sys-devel/libperl/libperl-5.8.7.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/sys-devel/libperl/libperl-5.8.7.ebuild,v 1.18 2005/12/01 18:51:40 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/libperl-5.8.7.ebuild,v 1.19 2005/12/05 16:08:50 mcummings Exp $ # The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>. # @@ -155,15 +155,14 @@ src_compile() { export LC_ALL="C" local myconf="" - if [[ ${KERNEL} == "FreeBSD" && "${ELIBC}" = "FreeBSD" ]]; then - osname="freebsd" - elif [[ ${KERNEL} == "NetBSD" ]]; then - osname="netbsd" - elif [[ ${USERLAND} == "Darwin" ]]; then - osname="darwin" - else - osname="linux" - fi + case ${CHOST} in + *-freebsd*) osname="freebsd" ;; + *-netbsd*) osname="netbsd" ;; + *-openbsd*) osname="openbsd" ;; + *-darwin*) osname="darwin" ;; + + *) osname="linux" ;; + esac if use ithreads then |