summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-09-22 17:07:29 +0000
committertnn <tnn@pkgsrc.org>2007-09-22 17:07:29 +0000
commit85abfeee859878858d41c3e8113ed4c5b6e17598 (patch)
tree26f9c5a9c86d99b673a07f4dad71f6984fb6753d /devel/glib2
parent41baa6d8fa1fc40d73912b4af11b95b82719da1b (diff)
downloadpkgsrc-85abfeee859878858d41c3e8113ed4c5b6e17598.tar.gz
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 (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index c67fbab9527..b5368ed8f7b 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -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 \