]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
systemd: Add workaround for build of manpages.
authorSchantl Stefan <Stevee@ipfire.org>
Fri, 19 Nov 2010 13:11:56 +0000 (14:11 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Fri, 19 Nov 2010 13:11:56 +0000 (14:11 +0100)
Created a patchfile to disable the build of manpages. They need a working docbook and naoki doesn't provide one atm.

pkgs/core/systemd/systemd-no-manpages.patch [new file with mode: 0644]
pkgs/core/systemd/systemd.nm

diff --git a/pkgs/core/systemd/systemd-no-manpages.patch b/pkgs/core/systemd/systemd-no-manpages.patch
new file mode 100644 (file)
index 0000000..a185fde
--- /dev/null
@@ -0,0 +1,31 @@
+diff -Nur a/Makefile b/Makefile
+--- a/Makefile 2010-11-19 13:26:11.000000000 +0100
++++ b/Makefile 2010-11-19 13:27:31.000000000 +0100
+@@ -525,11 +525,11 @@
+ man/init.1: man/systemd.1
+ dist_man_MANS = \
+-      $(MANPAGES) \
+-      $(MANPAGES_ALIAS)
++#     $(MANPAGES) \
++#     $(MANPAGES_ALIAS)
+ nodist_man_MANS = \
+-      man/systemd.special.7
++#     man/systemd.special.7
+ XML_FILES = \
+       ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
+@@ -538,10 +538,10 @@
+       ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
+ dist_noinst_DATA = \
+-      ${XML_FILES:.xml=.html}
++#     ${XML_FILES:.xml=.html}
+ nodist_noinst_DATA = \
+-      ${XML_IN_FILES:.xml.in=.html}
++#     ${XML_IN_FILES:.xml.in=.html}
+ EXTRA_DIST += \
+       $(XML_FILES) \
index a3bca65c701315ed8b7acb4d4661b21ef4a60512..9ba4b81edd52300e2d3047d6c593325cdce57d8a 100644 (file)
@@ -49,6 +49,10 @@ define STAGE_PREPARE_CMDS
        cd $(DIR_APP) && ./bootstrap.sh ac
 endef
 
+define STAGE_CONFIGURE_CMDS
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SOURCE)/*.patch
+endef
+
 CONFIGURE_OPTIONS += \
        --sbindir=/sbin \
        --sysconfdir=/etc \