|
|
|
@ -16,16 +16,13 @@
|
|
|
|
|
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 )" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir libprelude )" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-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 )" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" |
|
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
var_insert configprefix ' ' "CFLAGS=\"$CFLAGS\"" |
|
|
|
|
var_insert configprefix ' ' "LDFLAGS=\"$LDFLAGS\"" |
|
|
|
|