pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 configure fails to detect mmap support on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b26e2dee1425
branches:  trunk
changeset: 533642:b26e2dee1425
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 22 17:07:29 2007 +0000

description:
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.

diffstat:

 devel/glib2/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r fcabe6920a2f -r b26e2dee1425 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Sat Sep 22 15:19:47 2007 +0000
+++ b/devel/glib2/Makefile      Sat Sep 22 17:07:29 2007 +0000
@@ -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 @@
 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 \



Home | Main Index | Thread Index | Old Index