systemd.eclass: Update the example for best practices
authorMichał Górny <mgorny@gentoo.org>
Fri, 27 Nov 2015 14:27:55 +0000 (15:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 1 Dec 2015 22:07:17 +0000 (23:07 +0100)
eclass/systemd.eclass

index 7dd914a358a99e3d2bc52d29d81de6d90c3d36e4..72771dfe0f424a4196380e23962972b57e922c6f 100644 (file)
 # inherit systemd
 #
 # src_configure() {
-#      local myeconfargs=(
+#      local myconf=(
 #              --enable-foo
-#              --disable-bar
-#              "$(systemd_with_unitdir)"
+#              --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
 #      )
 #
-#      econf "${myeconfargs[@]}"
+#      econf "${myconf[@]}"
 # }
 # @CODE