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

Contents of /trunk/sys-apps/freebsd-contrib/freebsd-contrib-5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 500 - (show annotations) (download)
Tue Jun 21 12:25:10 2005 UTC (9 years, 3 months ago) by flameeyes
File size: 1564 byte(s)
Fix freebsd-contrib compilation.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit bsdmk flag-o-matic
6
7 GCC="freebsd-gcc-3.4.2"
8
9 DESCRIPTION="Contributed sources for FreeBSD. Includes programs and libraries"
10 SRC_URI="mirror://gentoo/${GNU}.tar.bz2
11 mirror://gentoo/${GCC}.tar.bz2
12 mirror://gentoo/${P}.tar.bz2"
13
14 # Must be checked
15 LICENSE="BSD GPL-2 AS-IS"
16 KEYWORDS="~x86-fbsd"
17
18 RDEPEND="kerberos? ( virtual/krb5 )
19 ssl? ( dev-libs/openssl )"
20 DEPEND="${RDEPEND}
21 =sys-kernel/freebsd-sources-5.4*
22 =sys-kernel/freebsd-headers-5.4*
23 =sys-devel/freebsd-mk-defs-5.4*"
24
25 PROVIDE=""
26
27 S=${WORKDIR}/gnu
28
29 IUSE="ssl kerberos"
30
31 pkg_setup() {
32 if use kerberos && ! use ssl; then
33 error "You can't install with kerberos support and no ssl support"
34 fi
35
36 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
37 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
38 }
39
40 src_unpack() {
41 unpack ${A}
42
43 cd ${WORKDIR}/contrib
44 epatch ${FILESDIR}/${PN}-crt_gcc4.patch
45
46 # Installation related patches
47 cd ${S}/lib/csu
48 epatch ${FILESDIR}/${PN}-5.3-lib_csu-makefile.patch
49
50 cd ${S}
51 dummy_mk lib/libdialog lib/libg2c lib/libgcc lib/libgcc_r lib/libgcov lib/libiberty \
52 lib/libobjc lib/libreadline lib/libregex lib/libstdc++ lib/libsupc++ usr.bin/bc \
53 usr.bin/binutils usr.bin/cc usr.bin/cpio usr.bin/cvs usr.bin/dc usr.bin/dialog \
54 usr.bin/diff usr.bin/diff3 usr.bin/gdb usr.bin/gperf usr.bin/grep usr.bin/groff \
55 usr.bin/gzip usr.bin/man usr.bin/rcs usr.bin/sdiff usr.bin/send-pr usr.bin/sort \
56 usr.bin/tar usr.bin/texinfo
57 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20