Browse Source

Fixed claws-mail to correctly enable libSM support for session management

We have to export LDFLAGS including the libdir of libsm to succesfully
complete a test configure runs for detecting libsm support.
early
Christian Wiese 17 years ago
parent
commit
e7db7f1e6b
  1. 11
      mail/claws-mail/claws-mail.conf

11
mail/claws-mail/claws-mail.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../claws-mail/claws-mail.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -13,6 +13,15 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# workaround to correctly enable libSM support for session management
if pkginstalled libsm ; then
pkgprefix -t libsm
var_append LDFLAGS ' ' "-L$root$( pkgprefix libdir libsm )"
export LDFLAGS
else
var_append confopt ' ' "--disable-libsm"
fi
if pkginstalled openldap ; then
pkgprefix -t openldap
LDAPLIBS="$root/$( pkgprefix libdir openldap )"

Loading…
Cancel
Save