summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2009-09-23 18:23:05 +0000
committertron <tron@pkgsrc.org>2009-09-23 18:23:05 +0000
commita4ee5d0006ac4142a7e47c38ee24f1c16da8f3ec (patch)
tree3c5540ca5a0196564ab5065e5a7df664dea4db71
parent09141e293eb920085aa03cd434472076010200f0 (diff)
downloadpkgsrc-a4ee5d0006ac4142a7e47c38ee24f1c16da8f3ec.tar.gz
Fix build problem for Mac OS X Snow Leopard 64-Bit ABI.
-rw-r--r--lang/gawk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 0bb1092ed4e..567673dc3d0 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2009/08/12 18:07:15 abs Exp $
+# $NetBSD: Makefile,v 1.42 2009/09/23 18:23:05 tron Exp $
DISTNAME= gawk-3.1.7
CATEGORIES= lang
@@ -37,6 +37,10 @@ PKG_SUPPORTED_OPTIONS= portals
CONFIGURE_ARGS+= --enable-portals
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
+CFLAGS+= -Dvm_region=vm_region_64
+.endif
+
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36
.include "../../devel/gettext-lib/buildlink3.mk"