diff options
-rw-r--r-- | sys-process/atop/atop-2.7.0.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-process/atop/atop-2.7.0.ebuild b/sys-process/atop/atop-2.7.0.ebuild index 100ab24274da..224879742c4a 100644 --- a/sys-process/atop/atop-2.7.0.ebuild +++ b/sys-process/atop/atop-2.7.0.ebuild @@ -44,10 +44,11 @@ pkg_pretend() { src_prepare() { default - ( + if use modules ; then cd "${WORKDIR}"/${NETATOP_P} || die eapply -p1 "${FILESDIR}"/${PN}-2.7.0-netatop-makefile.patch - ) + cd "${S}" || die + fi tc-export CC PKG_CONFIG |