diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-08-17 17:26:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-08-17 17:26:54 +0000 |
commit | b61ff225158520a0c4322310d0ab1833c204964e (patch) | |
tree | 4be5ec9f77dcbb87c5f35ac7a40cbeeefc258977 /sys-fs/mtools | |
parent | remove old (diff) | |
download | gentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.tar.gz gentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.tar.bz2 gentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.zip |
Version bump and remove pointless CFLAGS #232766.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-fs/mtools')
-rw-r--r-- | sys-fs/mtools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/mtools/files/mtools-3.9.11-flags.patch | 37 | ||||
-rw-r--r-- | sys-fs/mtools/mtools-3.9.11.ebuild | 44 |
3 files changed, 88 insertions, 1 deletions
diff --git a/sys-fs/mtools/ChangeLog b/sys-fs/mtools/ChangeLog index 3e953f85b4b5..db76a575502d 100644 --- a/sys-fs/mtools/ChangeLog +++ b/sys-fs/mtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/mtools # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.22 2008/07/15 19:38:14 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.23 2008/08/17 17:26:53 vapier Exp $ + +*mtools-3.9.11 (17 Aug 2008) + + 17 Aug 2008; Mike Frysinger <vapier@gentoo.org> + +files/mtools-3.9.11-flags.patch, +mtools-3.9.11.ebuild: + Version bump and remove pointless CFLAGS #232766. 15 Jul 2008; Jeroen Roovers <jer@gentoo.org> mtools-3.9.10.ebuild: Stable for HPPA too. diff --git a/sys-fs/mtools/files/mtools-3.9.11-flags.patch b/sys-fs/mtools/files/mtools-3.9.11-flags.patch new file mode 100644 index 000000000000..e0092abf1aac --- /dev/null +++ b/sys-fs/mtools/files/mtools-3.9.11-flags.patch @@ -0,0 +1,37 @@ +remove pointless flags + +http://bugs.gentoo.org/232766 + +--- mtools/configure ++++ mtools/configure +@@ -5904,9 +5904,6 @@ + my_host_os=`echo $host_os1 $host_os2 $host_os3 | sort -u` + objs=`echo $srcdir/*.c | sed 's/\.c$/.o/' ` + if [ "X$GCC" = "Xyes" ] ; then +- if [ "$host_cpu" = i486 ] ; then +- CFLAGS="$CFLAGS -m486" +- fi + Wall=-Wall + if [ "$host_os3" = sunos ] ; then + Wall="" +@@ -5921,9 +5918,6 @@ + CFLAGS="$CFLAGS -ZP" + MACHDEPLIBS="-lposix -UTIL" + fi +- case "${host}" in +- arm*-*-linux) CFLAGS="$CFLAGS -mstructure-size-boundary=8";; +- esac + CFLAGS="$CFLAGS $Wall" + else + if [ $host_os3 = hpux ] ; then +@@ -5940,10 +5934,6 @@ + fi + + +-if [ $host_vendor = linux ] ; then +- LDFLAGS="$LDFLAGS -z" +-fi +- + if [ $host_os3 = xenix ] ; then + LDFLAGS="$LDFLAGS -M2e -i -f 5000" + fi diff --git a/sys-fs/mtools/mtools-3.9.11.ebuild b/sys-fs/mtools/mtools-3.9.11.ebuild new file mode 100644 index 000000000000..8b24524df42a --- /dev/null +++ b/sys-fs/mtools/mtools-3.9.11.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.11.ebuild,v 1.1 2008/08/17 17:26:53 vapier Exp $ + +inherit eutils + +DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them" +HOMEPAGE="http://mtools.linux.lu/" +SRC_URI="http://mtools.linux.lu/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="X" + +DEPEND=" + X? ( + x11-libs/libICE + x11-libs/libXau + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXt + )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-flags.patch #232766 +} + +src_compile() { + econf \ + --sysconfdir=/etc/mtools \ + $(use_with X x) \ + || die + emake || die "emake failed" +} + +src_install() { + einstall sysconfdir="${D}"/etc/mtools || die + insinto /etc/mtools + doins mtools.conf || die + dodoc Changelog README* Release.notes +} |