diff --git a/resources/augeas.go b/resources/augeas.go
index 7754ce16..84cdf7d9 100644
--- a/resources/augeas.go
+++ b/resources/augeas.go
@@ -14,6 +14,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+
// +build !noaugeas
package resources
diff --git a/resources/augeas_disabled.go b/resources/augeas_disabled.go
index 152c54a8..132c7020 100644
--- a/resources/augeas_disabled.go
+++ b/resources/augeas_disabled.go
@@ -14,6 +14,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+
// +build noaugeas
package resources
diff --git a/resources/virt.go b/resources/virt.go
index 540e10c9..df96eeb1 100644
--- a/resources/virt.go
+++ b/resources/virt.go
@@ -14,6 +14,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+
// +build !novirt
package resources
diff --git a/resources/virt_disabled.go b/resources/virt_disabled.go
index a6cb1d7c..368ade1e 100644
--- a/resources/virt_disabled.go
+++ b/resources/virt_disabled.go
@@ -14,6 +14,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+
// +build novirt
package resources