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

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

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

Revision 440 Revision 441
5inherit freebsd-utils 5inherit freebsd-utils
6 6
7MY_PATCH=${PN}-5.3_rc1 7MY_PATCH=${PN}-5.3_rc1
8 8
9DESCRIPTION="FreeBSD sbin utils" 9DESCRIPTION="FreeBSD sbin utils"
10SRC_URI="${SRC_URI} 10SRC_URI="mirror://gentoo/${SBIN}.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}${LIBEXEC}.tar.bz2 13 mirror://gentoo/${LIBEXEC}.tar.bz2
14 ${BASE_SRC_URI}${USBIN}.tar.bz2" 14 mirror://gentoo/${USBIN}.tar.bz2"
15 15
16DEPEND="=sys-kernel/freebsd-sources-5.3* 16DEPEND="=sys-kernel/freebsd-sources-5.3*
17 =sys-kernel/freebsd-headers-5.3* 17 =sys-kernel/freebsd-headers-5.3*
18 =sys-devel/freebsd-mk-defs-5.3* 18 =sys-devel/freebsd-mk-defs-5.3*
19 =sys-libs/freebsd-lib-5.3* 19 =sys-libs/freebsd-lib-5.3*
20 =sys-libs/freebsd-libexec-5.3*" 20 =sys-libs/freebsd-libexec-5.3*"
21 21
22S=${WORKDIR}/sbin 22S=${WORKDIR}/sbin
23 23
24src_unpack() { 24src_unpack() {
25 unpack ${P}.tar.bz2 25 unpack ${P}.tar.bz2
26 unpack ${CONTRIB}.tar.bz2 26 unpack ${CONTRIB}.tar.bz2
27 unpack ${LIB}.tar.bz2 27 unpack ${LIB}.tar.bz2
28 unpack ${LIBEXEC}.tar.bz2 28 unpack ${LIBEXEC}.tar.bz2
29 unpack ${USBIN}.tar.bz2 29 unpack ${USBIN}.tar.bz2
65} 65}
66 66
67src_compile() { 67src_compile() {
68 # O3 breaks this, apparently 68 # O3 breaks this, apparently
69 replace-flags -O3 -O2 69 replace-flags -O3 -O2
70 emake || die "Compilation failed" 70 bsdmake || die "Compilation failed"
71} 71}
72 72
73src_install() { 73src_install() {
74 emake DESTDIR=${D} install || die "emake failed" 74 bsdmake DESTDIR=${D} install || die "emake failed"
75} 75}

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

  ViewVC Help
Powered by ViewVC 1.1.20