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

Contents of /trunk/sys-libs/freebsd-lib/freebsd-lib-5.3_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113 - (show annotations) (download)
Wed Nov 10 18:33:03 2004 UTC (10 years, 1 month ago) by angusyoung
File size: 1738 byte(s)
New ebuilds based on freebsd 5.3

1 # Copyright 1999-2004 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 USBIN=freebsd-usbin-${PV}
8 CONTRIB=freebsd-contrib-${PV}
9 CRYPTO=freebsd-crypto-${PV}
10 LIBEXEC=freebsd-libexec-${PV}
11
12 DESCRIPTION="FreeBSD's base system libraries"
13 SLOT="0"
14 IUSE=""
15 SRC_URI="${SRC_URI} ${USBIN}.tar.bz2 ${CONTRIB}.tar.bz2
16 ${CRYPTO}.tar.bz2 ${LIBEXEC}.tar.bz2"
17
18 DEPEND=""
19
20 S=${WORKDIR}/lib
21
22 src_unpack() {
23 unpack ${P}.tar.bz2 || die "Unable to unpack ${P}.tar.bz2"
24 unpack ${USBIN}.tar.bz2 || die "Unable to unpack ${USBIN}.tar.bz2"
25 unpack ${CONTRIB}.tar.bz2 || die "Unable to unpack ${CONTRIB}.tar.bz2"
26 unpack ${CRYPTO}.tar.bz2 || die "Unable to unpack ${CRYPTO}.tar.bz2"
27 unpack ${LIBEXEC}.tar.bz2 || die "Unable to unpack ${LIBEXEC}.tar.bz2"
28
29 # Massive patching starts here
30
31 # Fixed locations
32 cd ${S}/libkvm
33 epatch ${FILESDIR}/${P}-libkvm-makefile.patch
34 cd ${S}/libsbuf
35 epatch ${FILESDIR}/${P}-libsbuf-makefile.patch
36 cd ${S}/libypclnt
37 epatch ${FILESDIR}/${P}-libypclnt-makefile.patch
38 cd ${S}/libc
39 epatch ${FILESDIR}/${P}-libc-makefile.patch
40 cd ${S}/libc/sys
41 epatch ${FILESDIR}/${P}-libc_sys-makefileinc.patch
42 cd ${S}/libcam
43 epatch ${FILESDIR}/${P}-libcam-makefile.patch
44 cd ${S}/libngatm
45 epatch ${FILESDIR}/${P}-libngatm-makefile.patch
46 cd ${S}/libthr
47 epatch ${FILESDIR}/${P}-libthr-makefile.patch
48 cd ${S}/libncurses
49 epatch ${FILESDIR}/${P}-libncurses-makefile.patch
50
51 # Fixes in the source files
52 cd ${S}/msun/i387
53 epatch ${FILESDIR}/${P}-msun-fenvc.patch
54 }
55
56 src_compile() {
57 filter-flags "-fomit-frame-pointer"
58 replace-flags "-O?" -"O1"
59 emake || die "emake failed"
60 }
61
62 src_install() {
63 emake DESTDIR=${D} install || die "Install failed"
64 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20