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

Diff of /trunk/sys-apps/freebsd-ubin/freebsd-ubin-5.4-r1.ebuild

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

Revision 440 Revision 441
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header$ 3# $Header$
4 4
5inherit freebsd-utils flag-o-matic pam 5inherit freebsd-utils flag-o-matic pam
6 6
7CONTRIB="freebsd-contrib-${PV}"
8LIB="freebsd-lib-${PV}"
9BIN="freebsd-bin-${PV}"
10
11DESCRIPTION="FreeBSD's base system source for /usr/bin" 7DESCRIPTION="FreeBSD's base system source for /usr/bin"
12SRC_URI="${SRC_URI} 8SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
13 mirror://gentoo/${CONTRIB}.tar.bz2 9 mirror://gentoo/${CONTRIB}.tar.bz2
14 mirror://gentoo/${LIB}.tar.bz2 10 mirror://gentoo/${LIB}.tar.bz2
15 mirror://gentoo/${BIN}.tar.bz2" 11 mirror://gentoo/${BIN}.tar.bz2"
16 12
17DEPEND="=sys-devel/freebsd-mk-defs-5.4* 13DEPEND="=sys-devel/freebsd-mk-defs-5.4*
18 =sys-libs/freebsd-lib-5.4* 14 =sys-libs/freebsd-lib-5.4*
19 =sys-kernel/freebsd-headers-5.4* 15 =sys-kernel/freebsd-headers-5.4*
41 use ipv6 || mymakeopts="${mymakeopts} NOINET6= " 37 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
42 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " 38 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
43 use nis || mymakeopts="${mymakeopts} NO_NIS= " 39 use nis || mymakeopts="${mymakeopts} NO_NIS= "
44} 40}
45 41
46src_unpack() { 42src_unpack() {
47 unpack ${A} 43 unpack ${A}
48 44
49 cd ${S} 45 cd ${S}
50 epatch ${FILESDIR}/${PN}-minimal.patch 46 epatch ${FILESDIR}/${PN}-minimal.patch
51 epatch ${FILESDIR}/${PN}-bsdcmp.patch 47 epatch ${FILESDIR}/${PN}-bsdcmp.patch
57 # Rename manpage for renamed cmp 53 # Rename manpage for renamed cmp
58 mv ${S}/cmp/cmp.1 ${S}/cmp/bsdcmp.1 54 mv ${S}/cmp/cmp.1 ${S}/cmp/bsdcmp.1
59} 55}
60 56
61src_compile() { 57src_compile() {
62 # ATM -fomit-frame pointer is incompatible with 58 # ATM -fomit-frame pointer is incompatible with
63 # a flag (-pg) used to build libbind. 59 # a flag (-pg) used to build libbind.
64 filter-flags "-fomit-frame-pointer" 60 filter-flags "-fomit-frame-pointer"
65 61
66 cd ${WORKDIR}/lib/libtelnet 62 cd ${WORKDIR}/lib/libtelnet
67 fmake || die "fmake libtelnet failed" 63 fmake || die "fmake libtelnet failed"
68 64
69 if use sendmail; then 65 if use sendmail; then
70 cd ${WORKDIR}/lib/libsm 66 cd ${WORKDIR}/lib/libsm
71 fmake || die "fmake libsm failed" 67 fmake || die "fmake libsm failed"
72 cd ${WORKDIR}/lib/libsmutil 68 cd ${WORKDIR}/lib/libsmutil
73 fmake || die "fmake libsmutil failed" 69 fmake || die "fmake libsmutil failed"

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

  ViewVC Help
Powered by ViewVC 1.1.20