/[gentoo-x86]/sys-devel/libperl/libperl-5.8.7.ebuild
Gentoo

Diff of /sys-devel/libperl/libperl-5.8.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 Revision 1.19
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/Attic/libperl-5.8.7.ebuild,v 1.18 2005/12/01 18:51:40 dang Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/Attic/libperl-5.8.7.ebuild,v 1.19 2005/12/05 16:08:50 mcummings Exp $
4 4
5# The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>. 5# The basic theory based on comments from Daniel Robbins <drobbins@gentoo.org>.
6# 6#
7# We split the perl ebuild into libperl and perl. The layout is as follows: 7# We split the perl ebuild into libperl and perl. The layout is as follows:
8# 8#
153 filter-flags "-malign-double" 153 filter-flags "-malign-double"
154 154
155 export LC_ALL="C" 155 export LC_ALL="C"
156 local myconf="" 156 local myconf=""
157 157
158 if [[ ${KERNEL} == "FreeBSD" && "${ELIBC}" = "FreeBSD" ]]; then 158 case ${CHOST} in
159 osname="freebsd" 159 *-freebsd*) osname="freebsd" ;;
160 elif [[ ${KERNEL} == "NetBSD" ]]; then 160 *-netbsd*) osname="netbsd" ;;
161 osname="netbsd" 161 *-openbsd*) osname="openbsd" ;;
162 elif [[ ${USERLAND} == "Darwin" ]]; then 162 *-darwin*) osname="darwin" ;;
163 osname="darwin" 163
164 else
165 osname="linux" 164 *) osname="linux" ;;
166 fi 165 esac
167 166
168 if use ithreads 167 if use ithreads
169 then 168 then
170 einfo "using ithreads" 169 einfo "using ithreads"
171 mythreading="-multi" 170 mythreading="-multi"

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20