/[gentoo-alt]/trunk/sys-apps/freebsd-ubin/freebsd-ubin-5.3.20050301.ebuild
Gentoo

Diff of /trunk/sys-apps/freebsd-ubin/freebsd-ubin-5.3.20050301.ebuild

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

Revision 440 Revision 441
6 6
7BASE_VER=5.3 7BASE_VER=5.3
8MY_PATCH=${PN}-${BASE_VER}_rc1 8MY_PATCH=${PN}-${BASE_VER}_rc1
9 9
10DESCRIPTION="FreeBSD's base system source for /usr/bin" 10DESCRIPTION="FreeBSD's base system source for /usr/bin"
11SRC_URI="${SRC_URI} 11SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
12 ${BASE_SRC_URI}${CONTRIB}.tar.bz2 12 mirror://gentoo/${CONTRIB}.tar.bz2
13 ${BASE_SRC_URI}${LIB}.tar.bz2 13 mirror://gentoo/${LIB}.tar.bz2
14 ${BASE_SRC_URI}${BIN}.tar.bz2" 14 mirror://gentoo/${BIN}.tar.bz2"
15 15
16DEPEND="=sys-devel/freebsd-mk-defs-5.3* 16DEPEND="=sys-devel/freebsd-mk-defs-5.3*
17 =sys-libs/freebsd-lib-5.3* 17 =sys-libs/freebsd-lib-5.3*
18 =sys-kernel/freebsd-headers-5.3* 18 =sys-kernel/freebsd-headers-5.3*
19 =sys-kernel/freebsd-sources-5.3* 19 =sys-kernel/freebsd-sources-5.3*
37 use usb || mymakeopts="${mymakeopts} NO_USB= " 37 use usb || mymakeopts="${mymakeopts} NO_USB= "
38 use ipv6 || mymakeopts="${mymakeopts} NOINET6= " 38 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
39 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " 39 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
40} 40}
41 41
42src_unpack() { 42src_unpack() {
43 unpack ${A} 43 unpack ${A}
44 44
45 cd ${S} 45 cd ${S}
46 epatch ${FILESDIR}/${PN}-${BASE_VER}-nocom_err.patch 46 epatch ${FILESDIR}/${PN}-${BASE_VER}-nocom_err.patch
47 47
48 # Fixed location to /usr/src 48 # Fixed location to /usr/src
49 cd ${S}/kdump 49 cd ${S}/kdump
50 epatch ${FILESDIR}/${MY_PATCH}-kdump-makefile.patch 50 epatch ${FILESDIR}/${MY_PATCH}-kdump-makefile.patch
51 51
52 # I belive this patch may give problems with sandbox in the future 52 # I belive this patch may give problems with sandbox in the future
53 cd ${S}/truss 53 cd ${S}/truss
54 epatch ${FILESDIR}/${MY_PATCH}-truss-makefile.patch 54 epatch ${FILESDIR}/${MY_PATCH}-truss-makefile.patch
55 55
56 # Installation related patch (to create necessary dirs) 56 # Installation related patch (to create necessary dirs)
63 cd ${S}/vi 63 cd ${S}/vi
64 epatch ${FILESDIR}/${MY_PATCH}-vi-makefile.patch 64 epatch ${FILESDIR}/${MY_PATCH}-vi-makefile.patch
65} 65}
66 66
67src_compile() { 67src_compile() {
68 # ATM -fomit-frame pointer is incompatible with 68 # ATM -fomit-frame pointer is incompatible with
69 # a flag (-pg) used to build libbind. 69 # a flag (-pg) used to build libbind.
70 filter-flags "-fomit-frame-pointer" 70 filter-flags "-fomit-frame-pointer"
71 append-ldflags -z,now 71 append-ldflags -z,now
72 72
73 einfo "Building library dependencies" 73 einfo "Building library dependencies"
74 if use bind-utils; then 74 if use bind-utils; then

Legend:
Removed from v.440  
changed lines
  Added in v.441

  ViewVC Help
Powered by ViewVC 1.1.20