|
|
@ -19,5 +19,17 @@ if ! atstage native; then |
|
|
|
var_append configcache ' ' 'glib_cv_uscore=no' |
|
|
|
var_append configcache ' ' 'ac_cv_func_posix_getpwuid_r=yes' |
|
|
|
var_append configcache ' ' 'ac_cv_func_posix_getgrgid_r=yes' |
|
|
|
|
|
|
|
find-get-text() { |
|
|
|
if pkginstalled -f gettext-stub; then |
|
|
|
var_append CFLAGS ' ' "-I$root/$( pkgprefix includedir gettext-stub )" |
|
|
|
var_append CPPFLAGS ' ' "-I$root/$( pkgprefix includedir gettext-stub )" |
|
|
|
var_append LDLAGS ' ' "-L$root/$( pkgprefix libdir gettext-stub )" |
|
|
|
export CFLAGS CPPFLAGS LDFLAGS |
|
|
|
fi |
|
|
|
} |
|
|
|
hook_add preconf 8 'find-get-text' |
|
|
|
fi |
|
|
|
hook_add preconf 9 'autoreconf -ivf' |
|
|
|
# we never want this file |
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,.*/charset.alias,/tmp/x,'" |