/[gentoo-alt]/trunk/sys-libs/freebsd-lib/freebsd-lib-5.4.ebuild
Gentoo

Contents of /trunk/sys-libs/freebsd-lib/freebsd-lib-5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 350 - (show annotations) (download)
Tue May 10 18:18:56 2005 UTC (9 years, 5 months ago) by flameeyes
File size: 1751 byte(s)
Updated to 5.4-RELEASE.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils flag-o-matic
6
7 DESCRIPTION="FreeBSD's base system libraries"
8 SLOT="0"
9 SRC_URI="${SRC_URI}
10 mirror://gentoo/${USBIN}.tar.bz2
11 mirror://gentoo/${CONTRIB}.tar.bz2
12 mirror://gentoo/${LIBEXEC}.tar.bz2
13 mirror://gentoo/${CRYPTO}.tar.bz2"
14
15 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
16 =sys-kernel/freebsd-sources-5.4*
17 =sys-kernel/freebsd-headers-5.4*
18 ssl? ( dev-libs/openssl )
19 kerberos? ( virtual/krb5 )"
20 PROVIDE="virtual/libc"
21
22 S=${WORKDIR}/lib
23
24 IUSE="atm bluetooth ssl usb ipv6 kerberos nis gpib"
25
26 pkg_setup() {
27 if ! use ssl && use kerberos; then
28 eerror "If you want kerberos support you need to enable ssl support, too."
29 fi
30
31 use atm || mymakeopts="${mymakeopts} NO_ATM= "
32 use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
33 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
34 use usb || mymakeopts="${mymakeopts} NO_USB= "
35 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
36 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
37 use nis || mymakeopts="${mymakeopts} NO_NIS= "
38 use gpib || mymakeopts="${mymakeopts} NO_GPIB= "
39
40 mymakeopts="${mymakeopts} NO_OPENSSH= NO_WERROR= NO_BIND= NO_SENDMAIL= "
41 }
42
43 src_unpack() {
44 unpack ${A}
45
46 cd ${S}
47 epatch ${FILESDIR}/${PN}-minimal.patch
48 epatch ${FILESDIR}/${PN}-fixmakefiles.patch
49 epatch ${FILESDIR}/${PN}-runet.patch
50 epatch ${FILESDIR}/${PN}-bsdxml.patch
51
52 # Fixes in the source files
53 cd ${S}/msun/i387
54 epatch ${FILESDIR}/${PN}-msun-fenvc.patch
55 }
56
57 src_compile() {
58 filter-flags "-fomit-frame-pointer"
59 replace-flags "-O?" -"O1"
60 fmake || die "emake failed"
61 }
62
63 src_install() {
64 fmake DESTDIR=${D} install || die "Install failed"
65 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20