commit: 05f7d5800a01f9e3f77efff3a6ebbef91cd38042 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Sun Nov 27 09:15:37 2016 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Sun Nov 27 09:17:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f7d580
sys-fs/squashfs-tools: add USE=debug support for internal tool tracing sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild | 3 ++- sys-fs/squashfs-tools/squashfs-tools-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild index 047b874..ee38c95 100644 --- a/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild +++ b/sys-fs/squashfs-tools/squashfs-tools-4.3-r2.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/squashfs/squashfs${PV}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="lz4 lzma lzo static xattr +xz" +IUSE="debug lz4 lzma lzo static xattr +xz" LIB_DEPEND="sys-libs/zlib[static-libs(+)] !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) @@ -53,6 +53,7 @@ src_configure() { ) tc-export CC + use debug && append-cppflags -DSQUASHFS_TRACE use static && append-ldflags -static } diff --git a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild index 7815a95..b2c2c5a 100644 --- a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild +++ b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild @@ -16,7 +16,7 @@ EGIT_REPO_URI=" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="lz4 lzma lzo static xattr +xz" +IUSE="debug lz4 lzma lzo static xattr +xz" LIB_DEPEND="sys-libs/zlib[static-libs(+)] !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) @@ -50,6 +50,7 @@ src_configure() { ) tc-export CC + use debug && append-cppflags -DSQUASHFS_TRACE use static && append-ldflags -static }