From: Schantl Stefan Date: Fri, 19 Nov 2010 13:11:56 +0000 (+0100) Subject: systemd: Add workaround for build of manpages. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a880eeeed9dc747b4a3fe274a0c6e14c080a35;p=ipfire-3.x.git systemd: Add workaround for build of manpages. Created a patchfile to disable the build of manpages. They need a working docbook and naoki doesn't provide one atm. --- diff --git a/pkgs/core/systemd/systemd-no-manpages.patch b/pkgs/core/systemd/systemd-no-manpages.patch new file mode 100644 index 000000000..a185fdeb7 --- /dev/null +++ b/pkgs/core/systemd/systemd-no-manpages.patch @@ -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) \ diff --git a/pkgs/core/systemd/systemd.nm b/pkgs/core/systemd/systemd.nm index a3bca65c7..9ba4b81ed 100644 --- a/pkgs/core/systemd/systemd.nm +++ b/pkgs/core/systemd/systemd.nm @@ -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 \