summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-01-18 16:24:37 +0000
committerjperkin <jperkin@pkgsrc.org>2019-01-18 16:24:37 +0000
commit1e852c444a92a83be2da1dc7a21df2a7e0fa6e2e (patch)
tree909efc09b13c1b096f4fbe638b352e469427ad76
parent9fcdd59faa397ca43c48870945f903dc6eeb7024 (diff)
downloadpkgsrc-1e852c444a92a83be2da1dc7a21df2a7e0fa6e2e.tar.gz
nodejs: Ensure largefile is enabled on SunOS.
-rw-r--r--lang/nodejs/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/nodejs/Makefile.common b/lang/nodejs/Makefile.common
index f16f66053fa..f9a8ad8bbab 100644
--- a/lang/nodejs/Makefile.common
+++ b/lang/nodejs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2019/01/10 13:02:41 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.27 2019/01/18 16:24:37 jperkin Exp $
# used by lang/nodejs/Makefile
# used by lang/nodejs6/Makefile
# used by lang/nodejs8/Makefile
@@ -60,6 +60,9 @@ SUBST_FILES.mksnapshot+= out/deps/v8/gypfiles/mksnapshot.target.mk
SUBST_SED.mksnapshot+= -e 's|call do_cmd,link)|call do_cmd,link)\${.newline} ${TOOLS_PLATFORM.paxctl} +m $$@|'
.endif
+CFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64
+CXXFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64
+
pre-install:
${CHMOD} -R g-w ${WRKSRC}