configure fails to detect mmap support on HPUX. Force it, because mmap

support in glib2 is required by gtk2's icon cache as of gtk2+-2.12.0.
This commit is contained in:
tnn 2007-09-22 17:07:29 +00:00
parent 41baa6d8fa
commit 85abfeee85

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.121 2007/09/18 17:37:02 tnn Exp $
# $NetBSD: Makefile,v 1.122 2007/09/22 17:07:29 tnn Exp $
# When updating glib2, please apply patch-ak to configure.in
# Then run a matching version of autoconf to regen patch-aa.
@ -73,6 +73,10 @@ SUBST_MESSAGE.thr= Fixing libgthread.
CONFIGURE_ENV+= gt_cv_c_wchar_t=no
.endif
.if ${OPSYS} == "HPUX"
CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=yes
.endif
# Handle directories shared with devel/glib.
PRINT_PLIST_AWK+= /^@dirrm include\/glib$$/ \
{ print "@unexec $${RMDIR} %D/" $$2 \