summaryrefslogtreecommitdiff
path: root/devel
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
commit9b7f88b5c55cfa0dc89132acb8ac737d29b30342 (patch)
tree26f9c5a9c86d99b673a07f4dad71f6984fb6753d /devel
parentb44cb74026830e6b5c4655f9dc7ecd4d46e18164 (diff)
downloadpkgsrc-9b7f88b5c55cfa0dc89132acb8ac737d29b30342.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')
-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 \