openpkg/mutex.mk

Wed, 12 Sep 2012 18:46:46 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 12 Sep 2012 18:46:46 +0200
changeset 674
dd46abb0afa8
permissions
-rw-r--r--

Correct problem of missing datadir (/share) directory, caused by recent
policy change of distribution of empty virus definitions in
database/Makefile.in. Additionally correct the permissions of
the datadir to allow freshclam(1) to properly write to it.

     2 CC             = cc
     3 CFLAGS         =
     4 CPPFLAGS       =
     5 LDFLAGS        =
     6 LIBS           = -lpopt
     8 MUTEX_DOT_C    = mutex.c
    10 all: mutex
    12 mutex: $(MUTEX_DOT_C)
    13 	$(CC) $(CFLAGS) $(CPPFLAGS) -o mutex $(MUTEX_DOT_C) $(LDFLAGS) $(LIBS)
    15 clean:
    16 	-rm -f mutex

mercurial