summaryrefslogtreecommitdiffstats
path: root/debian/patches/0016-set-fhs-mansections.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0016-set-fhs-mansections.patch')
-rw-r--r--debian/patches/0016-set-fhs-mansections.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0016-set-fhs-mansections.patch b/debian/patches/0016-set-fhs-mansections.patch
new file mode 100644
index 0000000..48ef018
--- /dev/null
+++ b/debian/patches/0016-set-fhs-mansections.patch
@@ -0,0 +1,15 @@
+Description: use a more robust approach to limit manpages installation to FHS-compliant directories. Thanks to Alejandro Colomar (upstream author).
+Author: Marcos Fouces <marcos@debian.org>, Alejandro Colomar <alx@kernel.org>
+
+--- a/share/mk/configure/directory_variables/install.mk
++++ b/share/mk/configure/directory_variables/install.mk
+@@ -23,5 +23,9 @@
+ $(foreach s, $(MANSECTIONS), \
+ $(eval man$(s)ext := .$(s)))
+
++man2typedir := $(man2dir)
++man3constdir := $(man3dir)
++man3headdir := $(man3dir)
++man3typedir := $(man3dir)
+
+ endif # include guard