ports/sysutils/intel-undervolt/files/patch-configure
Rodrigo Osorio 62a9311d3f sysutils/intel-undervolt: update to 1.7
Major changes for 1.6:
    * Fix flipped short term and long term enabled state
    * Partial FreeBSD and DragonFly BSD support
    * Allow to measure the power consumption using intel_rapl
    * Allow to enable or disable power limits
    * tdp is replaced with power package
    * apply is replaced with undervolt

Major changes for 1.7:
    * Add HWP hint switching feature
    * Add elogind support
    * Add OpenRC support
    * Use /bin/sh instead of /bin/bash
    * Add command line options
    * Allow to configure daemon actions
    * Add configuration option for triggers

Port changes:
    * reorder makefile to make linter happy
    * remove bash run dependency
2023-08-24 11:13:13 +02:00

20 lines
553 B
Text

--- configure.orig 2023-08-23 20:56:30 UTC
+++ configure
@@ -65,7 +65,7 @@
printf '%s' "s,^\($1 =\).*$,\1 $2,"
}
-sed Makefile.in \
+sed \
-e "`sedcond SYSTEMD "$enable_systemd"`" \
-e "`sedcond ELOGIND "$enable_elogind"`" \
-e "`sedcond OPENRC "$enable_openrc"`" \
@@ -74,7 +74,7 @@
-e "`sedarg RUNSTATEDIR "$runstatedir"`" \
-e "`sedarg UNITDIR "$unitdir"`" \
-e "`sedarg ELOGINDDIR "$eloginddir"`" \
-> Makefile || exit 1
+Makefile.in > Makefile || exit 1
echo "Enable systemd: $enable_systemd"
echo "Enable elogind: $enable_elogind"