|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../audit/audit.conf
|
|
|
|
# Copyright (C) 2008 - 2011 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
# to get O_NOFOLLOW defined
|
|
|
|
var_append CPPFLAGS ' ' "-D_GNU_SOURCE"
|
|
|
|
|
|
|
|
# prelude support
|
|
|
|
if pkginstalled libprelude; then
|
|
|
|
pkgprefix -t libprelude
|
|
|
|
var_append extraconfopt ' ' "--with-prelude"
|
|
|
|
var_append CFLAGS ' ' "-I$root$( pkgprefix includedir libprelude )"
|
|
|
|
var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir libprelude )"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# no built-in checks for ldap nor configure options
|
|
|
|
if pkginstalled openldap; then
|
|
|
|
pkgprefix -t openldap
|
|
|
|
var_append CFLAGS ' ' "-I$root$( pkgprefix includedir openldap )"
|
|
|
|
var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir openldap )"
|
|
|
|
fi
|
|
|
|
|
|
|
|
var_insert configprefix ' ' "CPPFLAGS=\"$CPPFLAGS\""
|
|
|
|
var_insert configprefix ' ' "CFLAGS=\"$CFLAGS\""
|
|
|
|
var_insert configprefix ' ' "LDFLAGS=\"$LDFLAGS\""
|