Skip to content

Commit

Permalink
kde5.eclass: don't run pkg_pretend for kde-frameworks
Browse files Browse the repository at this point in the history
Merely exporting the phase function is very expensive, even if nothing useful
is done inside it.

Frameworks are supposed to support GCC 4.5 at a minimum which is old enough to
make it safe enough to omit the check.
  • Loading branch information
kensington committed Apr 20, 2016
1 parent ad4c6ae commit 2f5c34d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eclass/kde5.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ if [[ ${KDE_BUILD_TYPE} = live ]]; then
esac
fi

EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm
if [[ ${CATEGORY} != kde-frameworks ]]; then
EXPORT_FUNCTIONS pkg_pretend
fi

EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_preinst pkg_postinst pkg_postrm

# @ECLASS-VARIABLE: QT_MINIMAL
# @DESCRIPTION:
Expand Down

0 comments on commit 2f5c34d

Please sign in to comment.