diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-01-15 21:39:29 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-01-15 21:39:29 +0000 |
commit | 0a09804df8c23078c60a3a0377ee3d183bd049f6 (patch) | |
tree | ce640e9391e0e6f1cfe1d6f5fa0db785c245dd32 /sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild | |
parent | Add informational messages in postinst function, thanks to Sebastián Gonzál... (diff) | |
download | historical-0a09804df8c23078c60a3a0377ee3d183bd049f6.tar.gz historical-0a09804df8c23078c60a3a0377ee3d183bd049f6.tar.bz2 historical-0a09804df8c23078c60a3a0377ee3d183bd049f6.zip |
Bump to 6.2 and remove old version.
(Portage 2.1.2_rc4-r6/CVS)
Diffstat (limited to 'sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild')
-rw-r--r-- | sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild new file mode 100644 index 000000000000..5da4418d31d2 --- /dev/null +++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2.ebuild,v 1.1 2007/01/15 21:38:18 drizzt Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD's rescue binaries" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="atm nis" + +SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${BIN}.tar.bz2 + mirror://gentoo/${SBIN}.tar.bz2 + mirror://gentoo/${USBIN}.tar.bz2 + mirror://gentoo/${GNU}.tar.bz2 + mirror://gentoo/${SYS}.tar.bz2 + mirror://gentoo/${LIBEXEC}.tar.bz2 + mirror://gentoo/${RESCUE}.tar.bz2" + +RDEPEND="" +DEPEND="sys-devel/flex + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/rescue" + +pkg_setup() { + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + for flag in atm nis; do + if use ${flag} && ! built_with_use sys-libs/freebsd-lib ${flag}; then + die "You can't add ${flag} support here without adding it to sys-libs/freebsd-lib" + fi + done + +# append-flags -fno-stack-protector -fno-stack-protector-all +} + +src_unpack() { + freebsd_src_unpack + + # As they are patches from ${WORKDIR} apply them by hand + cd ${WORKDIR} + epatch ${FILESDIR}/${PN}-5.4-gentoo.patch + epatch ${FILESDIR}/${PN}-5.4-sbin-gentoo.patch +} |