~ubuntu-branches/ubuntu/raring/cron/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-20 07:57:06 UTC
  • Revision ID: james.westby@ubuntu.com-20111020075706-mu43ctkx4gn60zly
Tags: 3.0pl1-120ubuntu2
Drop build-dependency on libaudit, not in main and the security team
doesn't want it there.  LP: #878155.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    export PAM_DEFS PAM_LIBS
27
27
endif
28
28
 
29
 
# SELinux and audit are only available on Linux
 
29
# SELinux is only available on Linux
30
30
ifeq ($(DEB_HOST_ARCH_OS), linux)
31
31
# SELinux is enabled by default
32
32
ifeq (,$(findstring noselinux,$(DEB_BUILD_OPTIONS)))
34
34
    SELINUX_LIBS = -lselinux
35
35
    export SELINUX_DEFS SELINUX_LIBS
36
36
endif
37
 
# audit is disabled by default
38
 
ifneq (,$(findstring withaudit,$(DEB_BUILD_OPTIONS)))
39
 
    AUDIT_DEFS = -DWITH_AUDIT
40
 
    AUDIT_LIBS = -laudit
41
 
    export AUDIT_DEFS AUDIT_LIBS
42
 
endif
43
37
endif
44
38
 
45
39