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

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

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

Revision 440 Revision 441
5inherit freebsd-utils flag-o-matic 5inherit freebsd-utils flag-o-matic
6 6
7MY_PATCH=${PN}-5.3_rc1 7MY_PATCH=${PN}-5.3_rc1
8 8
9DESCRIPTION="FreeBSD's base system source for /usr/bin" 9DESCRIPTION="FreeBSD's base system source for /usr/bin"
10SRC_URI="${SRC_URI} 10SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
11 ${BASE_SRC_URI}${CONTRIB}.tar.bz2 11 mirror://gentoo/${CONTRIB}.tar.bz2
12 ${BASE_SRC_URI}${LIB}.tar.bz2 12 mirror://gentoo/${LIB}.tar.bz2
13 ${BASE_SRC_URI}${BIN}.tar.bz2" 13 mirror://gentoo/${BIN}.tar.bz2"
14 14
15DEPEND="=sys-devel/freebsd-mk-defs-5.3* 15DEPEND="=sys-devel/freebsd-mk-defs-5.3*
16 =sys-libs/freebsd-lib-5.3* 16 =sys-libs/freebsd-lib-5.3*
17 =sys-kernel/freebsd-headers-5.3* 17 =sys-kernel/freebsd-headers-5.3*
18 =sys-kernel/freebsd-sources-5.3*" 18 =sys-kernel/freebsd-sources-5.3*"
19S=${WORKDIR}/usr.bin 19S=${WORKDIR}/usr.bin
20 20
21src_unpack() { 21src_unpack() {
22 unpack ${P}.tar.bz2 22 unpack ${P}.tar.bz2
23 unpack ${CONTRIB}.tar.bz2 23 unpack ${CONTRIB}.tar.bz2
24 unpack ${LIB}.tar.bz2 24 unpack ${LIB}.tar.bz2
25 unpack ${BIN}.tar.bz2 25 unpack ${BIN}.tar.bz2
26 26
27 # Fixed location to /usr/src 27 # Fixed location to /usr/src
28 cd ${S}/kdump 28 cd ${S}/kdump
29 epatch ${FILESDIR}/${MY_PATCH}-kdump-makefile.patch 29 epatch ${FILESDIR}/${MY_PATCH}-kdump-makefile.patch
30 30
31 # I belive this patch may give problems with sandbox in the future 31 # I belive this patch may give problems with sandbox in the future
32 cd ${S}/truss 32 cd ${S}/truss
33 epatch ${FILESDIR}/${MY_PATCH}-truss-makefile.patch 33 epatch ${FILESDIR}/${MY_PATCH}-truss-makefile.patch
34 34
35 # Installation related patch (to create necessary dirs) 35 # Installation related patch (to create necessary dirs)
42 cd ${S}/vi 42 cd ${S}/vi
43 epatch ${FILESDIR}/${MY_PATCH}-vi-makefile.patch 43 epatch ${FILESDIR}/${MY_PATCH}-vi-makefile.patch
44} 44}
45 45
46src_compile() { 46src_compile() {
47 # ATM -fomit-frame pointer is incompatible with 47 # ATM -fomit-frame pointer is incompatible with
48 # a flag (-pg) used to build libbind. 48 # a flag (-pg) used to build libbind.
49 filter-flags "-fomit-frame-pointer" 49 filter-flags "-fomit-frame-pointer"
50 50
51 einfo "Building library dependencies" 51 einfo "Building library dependencies"
52 cd ${WORKDIR}/lib/bind 52 cd ${WORKDIR}/lib/bind
53 make || die "emake libbind failed" 53 make || die "emake libbind failed"

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

  ViewVC Help
Powered by ViewVC 1.1.20