]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/clamav
make.sh: Cleanup of polluted environment
[ipfire-2.x.git] / lfs / clamav
index 2cd5e493b9e86eda29b01f4be3d3dc459023fa1e..7ba8b8342f897880d7f7e82832b9965bd0b87f45 100644 (file)
@@ -36,7 +36,7 @@ PAK_VER    = 34
 
 DEPS       = ""
 
-ifeq "$(MACHINE_TYPE)" "arm"
+ifeq "$(BUILD_PLATFORM)" "arm"
 CONFIGURE_FLAGS = --disable-fanotify
 endif
 
@@ -95,7 +95,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        rm -rfv /usr/share/clamav/*.cvd
        mkdir -p /var/run/clamav
        chown clamav:clamav /var/run/clamav
-
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,clamav)
        # Disable PaX mprotect for clamd, clamscan and freshclam
        paxctl -cm /usr/sbin/clamd
        paxctl -cm /usr/bin/clamscan