]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/lcdproc
perl-Parse-Yapp: add package
[people/pmueller/ipfire-2.x.git] / lfs / lcdproc
index 83b24376cb567399a9b9bc50040f21a8afd673ab..88afec5d624c989657d8ffdc8c687d267b7c0c3b 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2011  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -36,6 +36,8 @@ PAK_VER    = 2
 
 DEPS       = 
 
+CFLAGS    += -fcommon
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -93,6 +95,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
        -mkdir -pv /etc/lcdproc
        cp -vf $(DIR_SRC)/config/lcdproc/{LCDd,lcdproc}.conf /etc/lcdproc
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,lcdproc)
+
        ln -sf ../init.d/lcdproc /etc/rc.d/rc3.d/S60lcdproc
        ln -sf ../init.d/lcdproc /etc/rc.d/rc0.d/K40lcdproc
        ln -sf ../init.d/lcdproc /etc/rc.d/rc6.d/K40lcdproc