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

Diff of /trunk/sys-libs/freebsd-lib/freebsd-lib-5.4_rc4.ebuild

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

Revision 336 Revision 337
5inherit freebsd-utils flag-o-matic 5inherit freebsd-utils flag-o-matic
6 6
7DESCRIPTION="FreeBSD's base system libraries" 7DESCRIPTION="FreeBSD's base system libraries"
8SLOT="0" 8SLOT="0"
9SRC_URI="${SRC_URI} 9SRC_URI="${SRC_URI}
10 ${BASE_SRC_URI}${USBIN}.tar.bz2 10 mirror://gentoo/${USBIN}.tar.bz2
11 ${BASE_SRC_URI}${CONTRIB}.tar.bz2 11 mirror://gentoo/${CONTRIB}.tar.bz2
12 ${BASE_SRC_URI}${LIBEXEC}.tar.bz2 12 mirror://gentoo/${LIBEXEC}.tar.bz2
13 ${BASE_SRC_URI}${CRYPTO}.tar.bz2" 13 mirror://gentoo/${CRYPTO}.tar.bz2"
14 14
15DEPEND="=sys-devel/freebsd-mk-defs-5.4* 15DEPEND="=sys-devel/freebsd-mk-defs-5.4*
16 =sys-kernel/freebsd-sources-5.4* 16 =sys-kernel/freebsd-sources-5.4*
17 =sys-kernel/freebsd-headers-5.4* 17 =sys-kernel/freebsd-headers-5.4*
18 ssl? ( dev-libs/openssl ) 18 ssl? ( dev-libs/openssl )
19 kerberos? ( virtual/krb5 )" 19 kerberos? ( virtual/krb5 )"
20PROVIDE="virtual/libc" 20PROVIDE="virtual/libc"
21 21
22S=${WORKDIR}/lib 22S=${WORKDIR}/lib
23 23
24IUSE="atm bind bluetooth sendmail ssl usb ipv6 kerberos nis gpib" 24IUSE="atm bluetooth ssl usb ipv6 kerberos nis gpib"
25 25
26pkg_setup() { 26pkg_setup() {
27 if ! use ssl && use kerberos; then 27 if ! use ssl && use kerberos; then
28 eerror "If you want kerberos support you need to enable ssl support, too." 28 eerror "If you want kerberos support you need to enable ssl support, too."
29 fi 29 fi
30 30
31 use atm || mymakeopts="${mymakeopts} NO_ATM= " 31 use atm || mymakeopts="${mymakeopts} NO_ATM= "
32 use bind || mymakeopts="${mymakeopts} NO_BIND= "
33 use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= " 32 use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
34 use sendmail || mymakeopts="${mymakeopts} NO_SENDMAIL= "
35 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= " 33 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
36 use usb || mymakeopts="${mymakeopts} NO_USB= " 34 use usb || mymakeopts="${mymakeopts} NO_USB= "
37 use ipv6 || mymakeopts="${mymakeopts} NOINET6= " 35 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
38 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " 36 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
39 use nis || mymakeopts="${mymakeopts} NO_NIS= " 37 use nis || mymakeopts="${mymakeopts} NO_NIS= "
40 use gpib || mymakeopts="${mymakeopts} NO_GPIB= " 38 use gpib || mymakeopts="${mymakeopts} NO_GPIB= "
41 39
42 mymakeopts="${mymakeopts} NO_OPENSSH= NO_WERROR= " 40 mymakeopts="${mymakeopts} NO_OPENSSH= NO_WERROR= NO_BIND= NO_SENDMAIL= "
43} 41}
44 42
45src_unpack() { 43src_unpack() {
46 unpack ${A} 44 unpack ${A}
47 45
48 cd ${S} 46 cd ${S}
49 epatch ${FILESDIR}/${PN}-minimal.patch 47 epatch ${FILESDIR}/${PN}-minimal.patch
50 epatch ${FILESDIR}/${PN}-fixmakefiles.patch 48 epatch ${FILESDIR}/${PN}-fixmakefiles.patch
51 epatch ${FILESDIR}/${PN}-runet.patch 49 epatch ${FILESDIR}/${PN}-runet.patch
50 epatch ${FILESDIR}/${PN}-bsdxml.patch
52 51
53 # Fixes in the source files 52 # Fixes in the source files
54 cd ${S}/msun/i387 53 cd ${S}/msun/i387
55 epatch ${FILESDIR}/${PN}-msun-fenvc.patch 54 epatch ${FILESDIR}/${PN}-msun-fenvc.patch
56} 55}

Legend:
Removed from v.336  
changed lines
  Added in v.337

  ViewVC Help
Powered by ViewVC 1.1.20