]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
mpd 0.20.6: fixes for lfs-file
authorMatthias Fischer <matthias.fischer@ipfire.org>
Sat, 25 Mar 2017 21:44:55 +0000 (22:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Mar 2017 16:19:57 +0000 (17:19 +0100)
Package refused to build without initscript.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/mpd

diff --git a/lfs/mpd b/lfs/mpd
index cf2862974f267360632afbc9b1de22bce95ff737..3213b27f69bed2ecd9f34518608dd9a942f0b381 100644 (file)
--- a/lfs/mpd
+++ b/lfs/mpd
@@ -77,7 +77,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr \
+       cd $(DIR_APP) && ./configure \
+                       --prefix=/usr \
                        --disable-ipv6 \
                        --sysconfdir=/etc \
                        --disable-sqlite \
@@ -91,6 +92,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --disable-icu
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,mpd)
+
        @rm -rf $(DIR_APP)
        touch /var/log/mpd.error.log
        touch /var/log/mpd.log