refpolicy: skip building docs
authorDaniel Golle <daniel@makrotopia.org>
Tue, 1 Sep 2020 13:34:15 +0000 (14:34 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 1 Sep 2020 13:35:00 +0000 (14:35 +0100)
Building docs requires xmllint and other bulky things being present on
the host. Skip that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/refpolicy/Makefile
package/system/refpolicy/patches/100-no-docs.patch [new file with mode: 0644]

index f1a33c8e796074b3dd0149c35bb18c80fcfb1eff..c5a8a5cc3284cecabc0b0997013b8f607cd80bd8 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=refpolicy
 PKG_VERSION:=2.20200229
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20200229
diff --git a/package/system/refpolicy/patches/100-no-docs.patch b/package/system/refpolicy/patches/100-no-docs.patch
new file mode 100644 (file)
index 0000000..2176795
--- /dev/null
@@ -0,0 +1,12 @@
+Index: refpolicy-2.20200229/Makefile
+===================================================================
+--- refpolicy-2.20200229.orig/Makefile
++++ refpolicy-2.20200229/Makefile
+@@ -648,6 +648,6 @@ ifneq ($(generated_fc),)
+ endif
+ endif
+-.PHONY: install-src install-appconfig install-headers generate xml conf html bare tags
++.PHONY: install-src install-appconfig install-headers generate conf bare tags
+ .SUFFIXES:
+ .SUFFIXES: .c