diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-07 23:01:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-07 23:01:46 +0000 |
commit | 401aa72a84b59cf16eb38cb104875e827c532a5c (patch) | |
tree | b55d00e37fda556caf02db46303399151b382c17 /sys-fs | |
parent | arm stable, bug #288026 (diff) | |
download | gentoo-2-401aa72a84b59cf16eb38cb104875e827c532a5c.tar.gz gentoo-2-401aa72a84b59cf16eb38cb104875e827c532a5c.tar.bz2 gentoo-2-401aa72a84b59cf16eb38cb104875e827c532a5c.zip |
Fix building on non-glibc systems #276951 by Ed Wildgoose.
(Portage version: 2.2_rc55/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/squashfs-tools/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-fs/squashfs-tools/ChangeLog b/sys-fs/squashfs-tools/ChangeLog index 37c72b1c5494..c1e1f4130789 100644 --- a/sys-fs/squashfs-tools/ChangeLog +++ b/sys-fs/squashfs-tools/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/squashfs-tools # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.67 2009/12/07 22:57:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.68 2009/12/07 23:01:46 vapier Exp $ + + 07 Dec 2009; Mike Frysinger <vapier@gentoo.org> squashfs-tools-4.0.ebuild: + Fix building on non-glibc systems #276951 by Ed Wildgoose. 07 Dec 2009; Mike Frysinger <vapier@gentoo.org> -squashfs-tools-3.1_p2.ebuild, squashfs-tools-3.2_p2.ebuild, diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild index 2507c3501880..910fea85d702 100644 --- a/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild +++ b/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild,v 1.7 2009/07/18 20:18:30 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0.ebuild,v 1.8 2009/12/07 23:01:46 vapier Exp $ inherit toolchain-funcs @@ -23,12 +23,13 @@ src_unpack() { cd "${S}" sed -i \ -e 's:-O2:$(CFLAGS):' \ - -e 's:$(CC):$(CC) $(LDFLAGS):' \ + -e '/-lz/s:$: $(LDFLAGS):' \ Makefile || die "sed failed" + sed -i -e 's:get_nprocs():sysconf(_SC_NPROCESSORS_ONLN):' *.c } src_compile() { - emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die + emake CC="$(tc-getCC)" || die } src_install() { |