/[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.10 Revision 1.11
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.10 2005/08/14 15:42:37 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/libperl/Attic/libperl-5.8.7.ebuild,v 1.11 2005/09/05 14:40:43 herbs 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#
52# 52#
53# Martin Schlemmer <azarah@gentoo.org> (28 Dec 2002). 53# Martin Schlemmer <azarah@gentoo.org> (28 Dec 2002).
54 54
55IUSE="berkdb debug gdbm ithreads" 55IUSE="berkdb debug gdbm ithreads"
56 56
57inherit eutils flag-o-matic toolchain-funcs 57inherit eutils flag-o-matic toolchain-funcs multilib
58 58
59# The slot of this binary compat version of libperl.so 59# The slot of this binary compat version of libperl.so
60PERLSLOT="1" 60PERLSLOT="1"
61 61
62SHORT_PV="${PV%.*}" 62SHORT_PV="${PV%.*}"
208 rm -f config.sh Policy.sh 208 rm -f config.sh Policy.sh
209 209
210 [ -n "${ABI}" ] && myconf="${myconf} -Dusrinc=$(get_ml_incdir)" 210 [ -n "${ABI}" ] && myconf="${myconf} -Dusrinc=$(get_ml_incdir)"
211 211
212 [[ ${ELIBC} == "FreeBSD" ]] && myconf="${myconf} -Dlibc=/usr/lib/libc.a" 212 [[ ${ELIBC} == "FreeBSD" ]] && myconf="${myconf} -Dlibc=/usr/lib/libc.a"
213
214 if [[ $(get_libdir) != "lib" ]] ; then
215 myconf="${myconf} -Dlibpth='/usr/local/$(get_libdir) /$(get_libdir) \
216 /usr/$(get_libdir)'"
217 fi
213 218
214 sh Configure -des \ 219 sh Configure -des \
215 -Darchname="${myarch}" \ 220 -Darchname="${myarch}" \
216 -Dcccdlflags='-fPIC' \ 221 -Dcccdlflags='-fPIC' \
217 -Dccdlflags='-rdynamic' \ 222 -Dccdlflags='-rdynamic' \

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20