Group :: Sistema/Configurações/Hadware
RPM: powerpc-utils
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: powerpc-utils-1.3.6-alt-fix-systemd-unit-install.patch
Download
Download
diff --git a/Makefile.am b/Makefile.am
index a272008..82902cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -181,7 +181,7 @@ src_drmgr_lsslot_LDADD = -lrtas
if WITH_SYSTEMD
install-data-hook: systemd/smt_off.service
- $(MKDIR_P) @prefix@${systemd_unit_dir}
- $(INSTALL_SCRIPT) $< @prefix@${systemd_unit_dir}/
- sed -i -e 's,$${exec_prefix},@sbindir@,g' @prefix@${systemd_unit_dir}/smt_off.service
+ $(MKDIR_P) ${DESTDIR}${systemd_unit_dir}
+ $(INSTALL_SCRIPT) $< ${DESTDIR}${systemd_unit_dir}/
+ sed -i -e 's,$${exec_prefix},@sbindir@,g' ${DESTDIR}${systemd_unit_dir}/smt_off.service
endif