diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-util/trace-cmd/trace-cmd-9999.ebuild | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-util/trace-cmd/trace-cmd-9999.ebuild')
-rw-r--r-- | dev-util/trace-cmd/trace-cmd-9999.ebuild | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/dev-util/trace-cmd/trace-cmd-9999.ebuild b/dev-util/trace-cmd/trace-cmd-9999.ebuild index d38e2e55b21e..27b25b7f1212 100644 --- a/dev-util/trace-cmd/trace-cmd-9999.ebuild +++ b/dev-util/trace-cmd/trace-cmd-9999.ebuild @@ -41,8 +41,8 @@ CONFIG_CHECK=" ~BLK_DEV_IO_TRACE" PATCHES=( - "${FILESDIR}"/${PN}-2.7-makefile.patch - "${FILESDIR}"/${PN}-2.7-soname.patch + "${FILESDIR}"/trace-cmd-2.7-makefile.patch + "${FILESDIR}"/trace-cmd-2.7-soname.patch ) pkg_setup() { @@ -51,30 +51,33 @@ pkg_setup() { } src_configure() { - MAKEOPTS+=" prefix=/usr - libdir=/usr/$(get_libdir) - CC=$(tc-getCC) - AR=$(tc-getAR) - $(usex audit '' '' 'NO_AUDIT=1')" + EMAKE_FLAGS=( + "prefix=/usr" + "libdir=/usr/$(get_libdir)" + "CC=$(tc-getCC)" + "AR=$(tc-getAR)" + $(usex audit '' '' '' 'NO_AUDIT=1') + $(usex udis86 '' '' '' 'NO_UDIS86=1') + ) if use python; then - MAKEOPTS+=" PYTHON_VERS=${EPYTHON//python/python-}" - MAKEOPTS+=" python_dir=$(python_get_sitedir)/${PN}" + EMAKE_FLAGS+=( + "PYTHON_VERS=${EPYTHON//python/python-}" + "python_dir=$(python_get_sitedir)/${PN}" + ) else - MAKEOPTS+=" NO_PYTHON=1" + EMAKE_FLAGS+=("NO_PYTHON=1") fi - - use udis86 || MAKEOPTS+=" NO_UDIS86=1" } src_compile() { - emake V=1 all_cmd libs + emake "${EMAKE_FLAGS[@]}" all_cmd libs use doc && emake doc } src_install() { - emake DESTDIR="${D}" V=1 install install_libs + emake "${EMAKE_FLAGS[@]}" DESTDIR="${D}" V=1 install install_libs use doc && emake DESTDIR="${D}" install_doc } |