File patch-fix-augeas-config.patch of Package elektra

diff --git a/src/plugins/augeas/CMakeLists.txt b/src/plugins/augeas/CMakeLists.txt
index b4c9c7c15..dc29fa864 100644
--- a/src/plugins/augeas/CMakeLists.txt
+++ b/src/plugins/augeas/CMakeLists.txt
@@ -23,6 +23,9 @@ if (DEPENDENCY_PHASE)
 	else (LIBAUGEAS_FOUND)
 		remove_plugin (augeas "libaugeas not found (libaugeas-dev >= 0.16 needed)")
 	endif ()
+
+	set (AUGEAS_PLUGIN_INCLUDE_DIRS ${LIBAUGEAS_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})
+	set (AUGEAS_PLUGIN_LIBRARIES ${LIBAUGEAS_LIBRARIES} ${LIBXML2_LIBRARIES})
 endif ()
 
 add_plugin(augeas
@@ -32,16 +35,14 @@ add_plugin(augeas
 	ADD_TEST
 	INSTALL_TEST_DATA
 	INCLUDE_DIRECTORIES
-		${LIBAUGEAS_INCLUDE_DIR}
-		${LIBXML2_INCLUDE_DIR}
+		${AUGEAS_PLUGIN_INCLUDE_DIRS}
 	COMPILE_DEFINITIONS
 		"${LIBAUGEAS_COMPILE_DEFINITIONS}"
 	LINK_ELEKTRA
 		elektra-meta
 		elektra-proposal
 	LINK_LIBRARIES
-		${LIBAUGEAS_LIBRARIES}
-		${LIBXML2_LIBRARIES}
+		${AUGEAS_PLUGIN_LIBRARIES}
 	)
 
 if (ADDTESTING_PHASE)