summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-12-26 23:47:23 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-12-26 23:47:23 +0000
commitb76027aea49b96a0b1c9dd77949e7780929a6e73 (patch)
tree30d44393c47c185b4f1ad9f2e2aac719e2a5eebf /dev-util/bsdiff/bsdiff-4.3-r1.ebuild
parent* stabilization (diff)
downloadgentoo-2-b76027aea49b96a0b1c9dd77949e7780929a6e73.tar.gz
gentoo-2-b76027aea49b96a0b1c9dd77949e7780929a6e73.tar.bz2
gentoo-2-b76027aea49b96a0b1c9dd77949e7780929a6e73.zip
Use append-lfs-flags.
(Portage version: 2.1.2_rc4)
Diffstat (limited to 'dev-util/bsdiff/bsdiff-4.3-r1.ebuild')
-rw-r--r--dev-util/bsdiff/bsdiff-4.3-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-util/bsdiff/bsdiff-4.3-r1.ebuild b/dev-util/bsdiff/bsdiff-4.3-r1.ebuild
index dbc94e5c6c1c..917a01561fc4 100644
--- a/dev-util/bsdiff/bsdiff-4.3-r1.ebuild
+++ b/dev-util/bsdiff/bsdiff-4.3-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.2 2006/11/24 15:23:21 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bsdiff/bsdiff-4.3-r1.ebuild,v 1.3 2006/12/26 23:47:23 drizzt Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
-IUSE="elibc_glibc"
+IUSE=""
DESCRIPTION="bsdiff: Binary Differencer using a suffix alg"
HOMEPAGE="http://www.daemonology.net/bsdiff/"
@@ -18,7 +18,7 @@ DEPEND="app-arch/bzip2"
RDEPEND="${DEPEND}"
src_compile() {
- use elibc_glibc && CFLAGS="${CFLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+ append-lfs-flags
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 || die "failed compiling bsdiff"
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 || die "failed compiling bspatch"
}