/[gentoo-x86]/sys-fs/e2fsprogs/e2fsprogs-1.41.12-r1.ebuild
Gentoo

Diff of /sys-fs/e2fsprogs/e2fsprogs-1.41.12-r1.ebuild

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
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: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/Attic/e2fsprogs-1.41.12-r1.ebuild,v 1.3 2010/12/04 22:29:24 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/Attic/e2fsprogs-1.41.12-r1.ebuild,v 1.4 2010/12/05 14:46:57 grobian Exp $
4 4
5EAPI="3" 5EAPI="3"
6 6
7inherit eutils flag-o-matic multilib toolchain-funcs 7inherit eutils flag-o-matic multilib toolchain-funcs
8 8
39 # use symlinks rather than hardlinks 39 # use symlinks rather than hardlinks
40 sed -i \ 40 sed -i \
41 -e 's:$(LN) -f $(DESTDIR).*/:$(LN_S) -f :' \ 41 -e 's:$(LN) -f $(DESTDIR).*/:$(LN_S) -f :' \
42 {e2fsck,misc}/Makefile.in || die 42 {e2fsck,misc}/Makefile.in || die
43 epatch "${FILESDIR}"/${P}-darwin-makefile.patch 43 epatch "${FILESDIR}"/${P}-darwin-makefile.patch
44 epatch "${FILESDIR}"/${P}-darwin-no-mntent.patch
45 if [[ ${CHOST} == *-mint* ]] ; then 44 if [[ ${CHOST} == *-mint* ]] ; then
46 epatch "${FILESDIR}"/${PN}-1.41-mint.patch 45 epatch "${FILESDIR}"/${PN}-1.41-mint.patch
47 epatch "${FILESDIR}"/${PN}-1.41.7-mint-blkid.patch 46 epatch "${FILESDIR}"/${PN}-1.41.7-mint-blkid.patch
48 fi 47 fi
49 # blargh ... trick e2fsprogs into using e2fsprogs-libs 48 # blargh ... trick e2fsprogs into using e2fsprogs-libs
74 case ${CHOST} in 73 case ${CHOST} in
75 *-darwin*) libtype=--enable-bsd-shlibs ;; 74 *-darwin*) libtype=--enable-bsd-shlibs ;;
76 *-mint*) libtype= ;; 75 *-mint*) libtype= ;;
77 *) libtype=--enable-elf-shlibs ;; 76 *) libtype=--enable-elf-shlibs ;;
78 esac 77 esac
79
80 # On MacOSX 10.4 using the assembly built-in bitoperation functions causes
81 # segmentation faults. Though this is likely fixable we can quickly make it
82 # at least work by using the C functions.
83 if [[ ${CHOST} == i?86-apple-darwin* ]]; then
84 append-flags -D_EXT2_USE_C_VERSIONS_
85 fi
86 78
87 ac_cv_path_LDCONFIG=: \ 79 ac_cv_path_LDCONFIG=: \
88 econf \ 80 econf \
89 --with-root-prefix="${EPREFIX}/" \ 81 --with-root-prefix="${EPREFIX}/" \
90 ${libtype} \ 82 ${libtype} \

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20