opnsense-ports/sysutils/intel-undervolt/files/patch-configure
Franco Fichtner 6cb9407dc3 */*: sync with upstream
Taken from: FreeBSD
2023-08-25 11:46:02 +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"